Appleish glossy effect

Author Message

Jerome Despatis

Friday 24 June 2011 4:31:06 am

Hi,

I'd like to apply a filter to an image, a filter that would reproduce the button that can be seen on iPhone, for example

Here is a piece of code in C# to do that:

http://stackoverflow.com/questions/109753/creating-a-shiny-graphic-gloss-effect/109868#109868

But anyone has an idea to have it for eZ/Filters based on convert/imagemagick ?

Thanks!

Jarosław Heba

Friday 24 June 2011 4:54:05 am

Try to figure out something with knowledge from imagemagick website >> http://www.imagemagick.org/Usage/advanced/#gel_effects and this forum.

Cheers

J.

Jerome Despatis

Friday 24 June 2011 5:19:49 am

Yes, but as far as I'm concerned, it's always fight club for me to know the good parameters...

Further more, I've been given on IRC this good resource:

http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=13140&start=0

Gonna check all that

Thanks

André R.

Saturday 25 June 2011 1:59:46 am

Might also be possible to apply such an effect via css as well, but that would probably be safari/webkit specific.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Jerome Despatis

Monday 27 June 2011 11:03:23 am

Yes you're right for both André

It's possible with css3, but will be specific to very few browsers...

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 30 2025 00:15:34
Script start
Timing: Jan 30 2025 00:15:34
Module start 'layout'
Timing: Jan 30 2025 00:15:34
Module start 'content'
Timing: Jan 30 2025 00:15:35
Module end 'content'
Timing: Jan 30 2025 00:15:35
Script end

Main resources:

Total runtime1.1364 sec
Peak memory usage4,096.0000 KB
Database Queries68

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 588.1250151.2109
Module start 'layout' 0.00480.0026 739.335936.6406
Module start 'content' 0.00741.1283 775.9766541.6875
Module end 'content' 1.13570.0007 1,317.664111.8750
Script end 1.1364  1,329.5391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00290.2524160.0002
Check MTime0.00120.1044160.0001
Mysql Total
Database connection0.00070.058010.0007
Mysqli_queries1.091896.0771680.0161
Looping result0.00050.0466660.0000
Template Total1.096396.520.5481
Template load0.00180.158520.0009
Template processing1.094596.311720.5472
Template load and register function0.00010.010510.0001
states
state_id_array0.00140.124410.0014
state_identifier_array0.00280.250120.0014
Override
Cache load0.00150.1336290.0001
Sytem overhead
Fetch class attribute can translate value0.00050.047230.0002
Fetch class attribute name0.00080.067470.0001
XML
Image XML parsing0.00220.195930.0007
class_abstraction
Instantiating content class attribute0.00000.004070.0000
General
dbfile0.00370.3249230.0002
String conversion0.00000.000740.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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 19
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs