Inconsistent results from "%p"

Bug #1079813 reported by Greg Toombs
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ImageMagick
New
Undecided
broucaries
imagemagick (Ubuntu)
In Progress
Undecided
broucaries

Bug Description

When I run this:

convert joint/* \
    -limit memory 512MiB \
 -type Grayscale \
    -crop 2x1@ +adjoin \
    -set filename:fn '%t-%[fx:1+(p&1)].%e' \
    +repage \
    'separate/%[filename:fn]'

Sometimes the "p" in the fx call doesn't update properly, leading to files getting inconsistently overwritten, like this (output from 'verbose'):

joint/0_stereoscopic_views_-_kilburn_-_royal_botanic_gardens.jpg=>separate/0_stereoscopic_views_-_kilburn_-_royal_botanic_gardens-2.jpg[0] JPEG 640x324=>320x324 8-bit Grayscale DirectClass 20.5KB 42.370u 0:29.949
joint/0_stereoscopic_views_-_kilburn_-_royal_botanic_gardens.jpg=>separate/0_stereoscopic_views_-_kilburn_-_royal_botanic_gardens-1.jpg[1] JPEG 640x324=>320x324 8-bit Grayscale DirectClass 20.5KB 42.360u 0:29.969
joint/1080par.jpg=>separate/1080par-1.jpg[2] JPEG 1238x720=>619x720 8-bit Grayscale DirectClass 81.9KB 42.170u 0:29.829
joint/1080par.jpg=>separate/1080par-1.jpg[3] JPEG 1238x720=>619x720 8-bit Grayscale DirectClass 81.9KB 42.170u 0:29.830
joint/1240637960_ec87a611d8_b.jpg=>separate/1240637960_ec87a611d8_b-1.jpg[4] JPEG 1024x641=>512x641 8-bit Grayscale DirectClass 86KB 41.970u 0:29.729
joint/1240637960_ec87a611d8_b.jpg=>separate/1240637960_ec87a611d8_b-1.jpg[5] JPEG 1024x641=>512x641 8-bit Grayscale DirectClass 86KB 41.970u 0:29.730

Revision history for this message
Greg Toombs (greg-toombs) wrote :

Package: imagemagick
Priority: optional
Section: graphics
Installed-Size: 447
Maintainer: Ubuntu Developers <email address hidden>
Original-Maintainer: ImageMagick Packaging Team <email address hidden>
Architecture: amd64
Version: 8:6.7.7.10-2ubuntu4

Changed in imagemagick (Ubuntu):
status: New → Incomplete
Revision history for this message
broucaries (roucaries-bastien+bugs) wrote :

I could you retry with more recent version like debian experimental ?

Revision history for this message
broucaries (roucaries-bastien+bugs) wrote :
Changed in imagemagick (Ubuntu):
assignee: nobody → broucaries (roucaries-bastien+bugs)
Changed in imagemagick (Ubuntu):
status: Incomplete → In Progress
Changed in imagemagick:
assignee: nobody → broucaries (roucaries-bastien+bugs)
Revision history for this message
Greg Toombs (greg-toombs) wrote :

So from my interpretation, v6 is "will not fix" and v7 is "fix committed"?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.