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.

eZ debug

Timing: Jan 19 2025 03:26:34
Script start
Timing: Jan 19 2025 03:26:34
Module start 'layout'
Timing: Jan 19 2025 03:26:34
Module start 'content'
Timing: Jan 19 2025 03:26:35
Module end 'content'
Timing: Jan 19 2025 03:26:35
Script end

Main resources:

Total runtime1.0956 sec
Peak memory usage4,096.0000 KB
Database Queries71

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 589.2891152.6406
Module start 'layout' 0.00680.0027 741.929739.4766
Module start 'content' 0.00951.0844 781.4063621.3281
Module end 'content' 1.09390.0016 1,402.734416.1250
Script end 1.0956  1,418.8594 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3053160.0002
Check MTime0.00130.1223160.0001
Mysql Total
Database connection0.00080.073710.0008
Mysqli_queries1.029193.9245710.0145
Looping result0.00070.0677690.0000
Template Total1.056296.420.5281
Template load0.00210.190620.0010
Template processing1.054196.206420.5270
Template load and register function0.00030.023510.0003
states
state_id_array0.00100.088410.0010
state_identifier_array0.00200.178320.0010
Override
Cache load0.00170.1596380.0000
Sytem overhead
Fetch class attribute can translate value0.00060.055630.0002
Fetch class attribute name0.00170.154690.0002
XML
Image XML parsing0.00130.119430.0004
class_abstraction
Instantiating content class attribute0.00000.0042100.0000
General
dbfile0.00330.3027240.0001
String conversion0.00000.000840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 21
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs