how to set colorspace from gray to transperent?

Author Message

Dhaval Patel

Monday 18 February 2008 10:06:02 pm

hello all,

i am uploading the image thro' ezeditor.

but ez makes the image background gray. i want to make that transperent instead of gray.

please tell me how i can change that.

ImageMagick is disabled.

With Best Regards,

Dhaval Patel
Team Leader - iNETProcess(I) Pvt. LTD.
dhaval.patel@inetprocess.com
Ph No: +91 79 65 12 35 00
http://www.inetprocess.co.in

Pascal Specht

Tuesday 19 February 2008 3:17:03 am

Hi,

I wouldn't necessarily blame eZ Publish: If you're using IE, you must know that IE has notorious problems with PNGs and transparency. First, check if the image shows correctly in a regular HTML file (without any eZ Publish) on your browser. Transparency is a hell to maintain in HTML (just google for 'hack' + PNG) , if you can avoid it, do so.

Regards,
Pascal

Dhaval Patel

Tuesday 19 February 2008 10:36:21 pm

Thank you for replying Pascal,

The image is perfect for "original" image class. but for other classes like small, medium and for .gif transperent images, ez puts gray in image where there is transperency.

do you understand what i mean?

With Best Regards,

Dhaval Patel
Team Leader - iNETProcess(I) Pvt. LTD.
dhaval.patel@inetprocess.com
Ph No: +91 79 65 12 35 00
http://www.inetprocess.co.in

Łukasz Serwatka

Tuesday 19 February 2008 11:15:39 pm

This will not work I'm afraid. If possible, try switch to ImageMagick. Look on lib/ezimage/classes/ezimageinterface.php for function blendImage()

Check also list of supported GD filters in image.ini

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Dhaval Patel

Tuesday 19 February 2008 11:23:13 pm

hi

the conversation tool is provided by ez 9.

ImageMagick is disabled.

GD filters are jpg, png, gif.

and if you know please tell me if i upload .gif file then how i can make jpg file for other image_classes?

like if i upload test.gif then for it is converted into test.jpg file for the image_custom_class.

With Best Regards,

Dhaval Patel
Team Leader - iNETProcess(I) Pvt. LTD.
dhaval.patel@inetprocess.com
Ph No: +91 79 65 12 35 00
http://www.inetprocess.co.in

Pascal Specht

Wednesday 20 February 2008 12:57:16 am

Hi Dhaval,

OK, it obviously the comes from the transformation: as Łukasz suggests, you should use ImageMagick which is much more powerful than GD. As you said, it is still disabled on your installation.

</Pascal>

Dhaval Patel

Wednesday 20 February 2008 1:32:20 am

hello

if i enable ImageMagick then ez is not creating thumbnails for the image_class.

so if i enable the ImageMagick, then where should i do the changes so ez creates thumbnails?

With Best Regards,

Dhaval Patel
Team Leader - iNETProcess(I) Pvt. LTD.
dhaval.patel@inetprocess.com
Ph No: +91 79 65 12 35 00
http://www.inetprocess.co.in

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.