tags 833703 + wontfix
tags 833703 - jessie
thanks

Hi,

The package is waiting for adoption - just in case you are interested.

On Montag, 8. August 2016 08:38:42 CET Sven Eckelmann wrote:
> > It seems that encodeImage() and encodeImageFile() don't work and produce a 
> > segfault.
> > 
> > $ php -d enable_dl=1 -r 'dl("ExactImage.so"); $im = null; 
> > decodeImageFile($im, "/tmp/test.jpg"); encodeImage($im, "jpeg");'
> > PHP Fatal error:  No matching function for overloaded 'encodeImage' in 
> > Command line code on line 1
> > [1]    29888 segmentation fault  php -d enable_dl=1 -r 

Not sure why you are doing it this way but this is wrong :)

Please try:

   php -d enable_dl=1 -r 'dl("ExactImage.so"); $im = newImage(); 
decodeImageFile($im, "/tmp/test.jpg"); encodeImageFile($im, "/tmp/2.jpg", 75);'

or

   php -d enable_dl=1 -r 'dl("ExactImage.so"); $im = newImage(); 
decodeImageFile($im, "/tmp/test.jpg"); encodeImage($im, "jpeg");'

> This package was removed in Stretch/Sid. So it would be good to discuss this
> with upstream. See your other bug report #833702.

I will now close this bug because the package doesn't exist in stretch
and your code is doing something wrong. I know that this is maybe not
really the way you expect the API should react to bogus inputs but fixing
the API is work for upstream.

Kind regards,
        Sven

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to