Opened 13 years ago

Closed 12 years ago

#136 closed defect (wontfix)

Rasdaman and libpng15

Reported by: Ernesto Rodriguez Owned by: Vlad Merticariu
Priority: minor Milestone: Future
Component: conversion Version: 8.3
Keywords: Cc:
Complexity: Medium

Description

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 by Heinrich Stamerjohanns, 12 years ago

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→trans_vals.read)

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,

&trans_color))

then continue with trans_color…

comment:2 by Vlad Merticariu, 12 years ago

Owner: set to Vlad Merticariu
Status: newaccepted

comment:3 by Heinrich Stamerjohanns, 12 years ago

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

comment:4 by Peter Baumann, 12 years ago

Component: DEBconversion
Milestone: Future
Priority: majorminor
Version: 8.3

comment:5 by Dimitar Misev, 12 years ago

Resolution: wontfix
Status: acceptedclosed

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

Note: See TracTickets for help on using tickets.