Opened 6 years ago

Closed 5 years ago

#136 closed defect (wontfix)

Rasdaman and libpng15

Reported by: erodriguez Owned by: vmerticariu
Priority: minor Milestone: Future
Component: conversion Version: 8.3
Keywords: Cc:


Rasdaman dosen't compie with version 15 of the png library.

error: invalid use of incomplete type ‘png_info {aka struct png_info_def}’

Change History (5)

comment:1 Changed 5 years ago by hstamerjohanns

png15 does not allow direct access to info_ptr.

Just to remember what needs to be done:
(setjmp(read_ptr->jmpbuf)) needs to be replaced by (setjmp(png_jmpbuf(read_ptr)))

instead of accessing &(info_ptr->

something like this needs to be done:

png_color_16p trans_color;

if (png_get_tRNS(read_ptr, read_info_ptr, &trans_alpha, &num_trans,


then continue with trans_color...

comment:2 Changed 5 years ago by vmerticariu

  • Owner set to vmerticariu
  • Status changed from new to accepted

comment:3 Changed 5 years ago by hstamerjohanns

You might want to check with Dimitar whether this still needs a patch. encode() might replace the png() function there?

comment:4 Changed 5 years ago by pbaumann

  • Component changed from DEB to conversion
  • Milestone set to Future
  • Priority changed from major to minor
  • Version set to 8.3

comment:5 Changed 5 years ago by dmisev

  • Resolution set to wontfix
  • Status changed from accepted to closed

Yes I think it's not worth investing into this, let's close the ticket.

Note: See TracTickets for help on using tickets.