Page 1 of 1

[fixed] "pixels are not authentic" after crop

Posted: 2010-11-14T14:54:51-07:00
by qubodup

Code: Select all

$ convert --version
Version: ImageMagick 6.6.4-10 2010-10-10 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC
Features: OpenMP 
I have a png file that I made in GIMP and want to chop and edit automatically. If I chop it in pieces of 16x16 it works all right, if I want a smaller height, it won't work.

file: http://ompldr.org/vNjV2aQ alt: http://qubodup.files.wordpress.com/2010 ... andirt.png

16x16

Code: Select all

$ convert asdf.png -crop 16x16 part.png
$ convert part-1.png -background LimeGreen -compose Copy -gravity west -splice 1x0 part-1-lime.png
$ identify part-1.png
part-1.png PNG 16x16 672x16+16+0 8-bit DirectClass 402B 0.000u 0:00.000
8x8

Code: Select all

$ convert asdf.png -crop 8x8 part.png
$ convert part-1.png -background LimeGreen -compose Copy -gravity west -splice 1x0 part-1-lime.png
convert: pixels are not authentic `part-1.png' @ error/cache.c/QueueAuthenticNexus/4375.
convert: pixels are not authentic `part-1.png' @ error/cache.c/QueueAuthenticNexus/4375.
$ identify part-1.png
part-1.png PNG 8x8 672x16+8+0 8-bit DirectClass 358B 0.000u 0:00.000
I noticed that it is enough to use `convert file -splice 1x0 file` but thought I should report this anyway.

Anything else I can do to help debug or find out if I made a mistake? :)

Re: "pixels are not authentic" after crop

Posted: 2010-11-14T17:50:36-07:00
by magick
We can reproduce the problem you reported and have a patch in ImageMagick-6.6.5-9 Beta available by sometime tomorrow. Thanks,