+append no longer works for me.

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
IlPapu

+append no longer works for me.

Post by IlPapu »

I installed version 6.5.1-0 q16 on my vista machine to run through an archive of pictures and append them together. This works fine. I installed a newer version of imagemagick (6.5.2-4 q16) and the same command no longer works (convert @list.txt +append test.png). I found that I could also run the command (convert %d[0-307].tif +append test.png), but this only worked once. If I run the @list command i get blob.c 2476 errors, the %d command is also throwing up errors. Any suggestions on how to get this fixed?

Thanks!
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: +append no longer works for me.

Post by fmw42 »

This works fine for me under IM 6.5.2-4 Q16 Mac OSX Tiger:

convert rose: rose: rose: +append rose_append.png

so it might have to do with the @list.txt
IlPapu

Re: +append no longer works for me.

Post by IlPapu »

i just tried the ":" method and no dice. I get this error:

convert: unable to open image '1.tif:': Invalid argument @ blob.c/OpenBlob/2476.

it repeats for all the filenames. To be sure that the images are real i used the imdisplay command and imagemagick can see them.

Thanks!
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: +append no longer works for me.

Post by fmw42 »

The ":" is only for special IM internal images, such as rose: and logo: see http://www.imagemagick.org/script/forma ... tin-images


try using 3 of your images without the :

convert image1.jpg image2.jpg image3.jpg +append result.jpg

For example:
convert rose: rose.jpg

convert rose.jpg rose.jpg rose.jpg +append rose_append.jpg
IlPapu

Re: +append no longer works for me.

Post by IlPapu »

That seems to work, but is there a workaround to doing this? I have 307 files that i need to append and i have to do the appending roughly another 15 times, which is why I tried the @list.txt command and the %d[1-307].tif.

Any help would be awesome!

Thanks!
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: +append no longer works for me.

Post by fmw42 »

I thought I read in one of the relatively recent posts that @file.txt was fixed. I have to run out. So try searching the list and see what you find. Otherwise, write again and wait for Magick's answer.

Is it possible that your list is too long for the command line?

Perhaps you don't have enough memory to hold all the images at once? Don't know if that is how append works.

What happens, as a test, if you make it smaller, say 3 images, and try that to see if it even works? If that is the case, you can configure the IM command to work with disk space, but I don't recall the command. The list also has many examples of working with large number of images and/or too small amounts of memory. Search for that also.

I will check back when I get back and see if you have found anything and look further myself.
IlPapu

Re: +append no longer works for me.

Post by IlPapu »

i have tried the shorter lists and that does not work. I will look at the options thanks!
IlPapu

Re: +append no longer works for me.

Post by IlPapu »

I have found a workaround. it seems when i was doing the %d method i was placing the extension in the wrong place:

WRONG:
convert %d[1-307].tif

RIGHT:
convert %d.tif[1-307]

This code worked for me
Post Reply