I use only scale with:

Width:328
Height: 218
Allow Upscaling active

I upload a png image of 328x218 with transparent alpha background. The output graphics is 222x218.

Since the input and output width were exactly the same, no scaling is necessary and the 328 should not have been cropped to 222. Or the description of scale is not correct or it is a bug.

Attached the image I uploaded. I use imageapi beta9

Comments

ñull’s picture

Oh yes I forgot to add that I use the GD toolkit

drewish’s picture

Status: Active » Postponed (maintainer needs more info)

could i see an export of the preset you're using? and could i get a copy of the the original image?

guignonv’s picture

Version: 6.x-2.0-beta9 » 6.x-2.0-beta10
StatusFileSize
new1.29 KB
new1.28 KB

I think I got a similar issue. I got a PNG image 80x80 (interleaved) gray-scale and transparent edges. I use an imagecache profile with just "scale to 80x80" and imagescale gives me a 80x80 image but it has been cropped in some way (see attached file). Transparency also seems to have been removed. I also use GD. The image was generated using the Gimp.

guignonv’s picture

Additionnal informations:
I did several versions of my image to test when the issue occurs. It seems the issue only appears when there is a transparency layer and the image is 256 grays (8bit).
I tryed:
-true color, interleaved, transparency: ok
-true color, transparency: ok
-true color, interleaved: ok
-true color: ok
-256 color, interleaved, transparency: ok
-256 color, transparency: ok
-256 color, interleaved: ok
-256 color: ok
-256 gray, interleaved, transparency: failed
-256 gray, transparency: failed
-256 gray, interleaved: ok
-256 gray: ok

fizk’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Please reopen if this is still an issue with ImageCache 6.x-2.0-rc1.