Search found 7 matches

by raffaele181188
2012-02-11T02:10:59-07:00
Forum: Users
Topic: PNG looses transparency on rotate
Replies: 15
Views: 37675

Re: PNG looses transparency on rotate

Oh sorry. I don't know the PHP extension version, if that's what you need. And I don't know how to get it on the host machine. But I thought this doesn't matter: isn't the extension just a thin wrapper around the native code?
by raffaele181188
2012-02-10T15:38:29-07:00
Forum: Users
Topic: PNG looses transparency on rotate
Replies: 15
Views: 37675

Re: PNG looses transparency on rotate

These are the version involved. I tried your suggestion but it doesn't work I'm using ImageMagick through PHP. My host service uses ImageMagick 6.5.4-7 2010-11-10 and when I rotate a PNG with "none" (or "transparent") background, I get a black one instead. I saw there are lots of...
by raffaele181188
2012-02-10T11:20:07-07:00
Forum: Users
Topic: PNG looses transparency on rotate
Replies: 15
Views: 37675

Re: PNG looses transparency on rotate

Sorry, I want to remark a thing. The code I posted works flawlessly on my machine. It doesn't work on my deployment machine, which happens to have a slightly older version (2 months) and seems that in within those months a lots of bugs regarding PNG were fixed. But the code does work!
by raffaele181188
2012-02-10T07:19:24-07:00
Forum: Users
Topic: PNG looses transparency on rotate
Replies: 15
Views: 37675

Re: PNG looses transparency on rotate

I already tried it. It doesn't work
by raffaele181188
2012-02-10T06:37:20-07:00
Forum: Users
Topic: PNG looses transparency on rotate
Replies: 15
Views: 37675

Re: PNG looses transparency on rotate

It happens with all images, no matter which size, format etc... Anyway, this is the image http://img72.imageshack.us/img72/4545/androidsad.png Can somebody point me to the code for adding the Alpha channel in PHP? This is the doc . I tried $image->setImageFormat("png32"); $image->setImageA...
by raffaele181188
2012-02-09T17:36:06-07:00
Forum: Users
Topic: PNG looses transparency on rotate
Replies: 15
Views: 37675

Re: PNG looses transparency on rotate

This is the error http://img205.imageshack.us/img205/5181/finalwp.png Unfortunately "png32" doesn't work either I just noticed one tricky issue. Both the correct and the wrong image aren't valid png, ie I serve them using echo $image, and the browser can correctly show them (I set content-...
by raffaele181188
2012-02-09T06:33:18-07:00
Forum: Users
Topic: PNG looses transparency on rotate
Replies: 15
Views: 37675

PNG looses transparency on rotate

I'm using ImageMagick through PHP. My host service uses ImageMagick 6.5.4-7 2010-11-10 and when I rotate a PNG with "none" (or "transparent") background, I get a black one instead. I saw there are lots of bugfixes about PNG in changelog around the beginning of 2011 and I think th...