[fixed] "pixels are not authentic" after crop

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
User avatar
qubodup
Posts: 31
Joined: 2009-10-07T13:11:41-07:00
Authentication code: 8675309

[fixed] "pixels are not authentic" after crop

Post 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? :)
Last edited by qubodup on 2010-11-15T02:04:10-07:00, edited 1 time in total.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: "pixels are not authentic" after crop

Post 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,
Post Reply