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
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | no_photo_id_imagecache.png | 1.28 KB | guignonv |
| #3 | no_photo_id.png | 1.29 KB | guignonv |
| legacypro.png | 23.61 KB | ñull |
Comments
Comment #1
ñull commentedOh yes I forgot to add that I use the GD toolkit
Comment #2
drewish commentedcould i see an export of the preset you're using? and could i get a copy of the the original image?
Comment #3
guignonvI 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.
Comment #4
guignonvAdditionnal 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
Comment #5
fizk commentedPlease reopen if this is still an issue with ImageCache 6.x-2.0-rc1.