Crop gif - ezp4

Author Message

Andreas Kaiser

Tuesday 06 May 2008 4:21:00 am

Not sure if this has to do with imagemagick or ezp4...

... but I have a gallery where the jpg are cropped ok, but gif not.

In image.ini.append.php I have

[gallerythumbnail]
Reference=
Filters[]
Filters[]=geometry/scalewidth=125
Filters[]=geometry/crop=120;80;0;0

Is there anything wrong?

Jpgs are resized to 125px width and then cropped to 120x80px.

In the case of gifs they are resized to 125px but then cropped to 125px width, height depends of every gif.

Any idea?

eZ Partner in Madrid (Spain)
Web: http://www.atela.net/

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 08:03:41
Script start
Timing: Jan 19 2025 08:03:41
Module start 'layout'
Timing: Jan 19 2025 08:03:41
Module start 'content'
Timing: Jan 19 2025 08:03:41
Module end 'content'
Timing: Jan 19 2025 08:03:41
Script end

Main resources:

Total runtime0.0180 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 589.1484152.6250
Module start 'layout' 0.00660.0031 741.773439.4453
Module start 'content' 0.00970.0060 781.218885.3516
Module end 'content' 0.01570.0023 866.570330.3047
Script end 0.0180  896.8750 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002413.4003140.0002
Check MTime0.00116.0894140.0001
Mysql Total
Database connection0.00115.971710.0011
Mysqli_queries0.003217.938930.0011
Looping result0.00000.133510.0000
Template Total0.001910.810.0019
Template load0.00095.190410.0009
Template processing0.00105.534110.0010
Override
Cache load0.00073.681910.0007
General
dbfile0.00137.452480.0002
String conversion0.00000.059540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs