Page 1 of 1

Image Magic cmd-line convert create extra 1x1 pixel file..

Posted: 2008-05-07T11:48:16-07:00
by noisefix
Hello

I have been using Image Magic in a batch script using the following command:

Convert c:\imagescript\working\1_ws.tga c:\imagescript\output\Output.jpg

The result is two files.

Output-0.jpg (which is the correct size)

Output-1.jpg (1x1 pixel "empty" image)

The addition of digit to the naming scheme screws up my batch process and I have no idea why it create erroneous files. Any advice on how to resolve this would be appreciated.

Cheers

Re: Image Magic cmd-line convert create extra 1x1 pixel file..

Posted: 2008-05-07T11:54:04-07:00
by Bonzo
I would guess your file has another layer or something similar.

Try just working with the first layer:

Code: Select all

Convert c:\imagescript\working\1_ws.tga[0] c:\imagescript\output\Output.jpg

Re: Image Magic cmd-line convert create extra 1x1 pixel file..

Posted: 2008-05-07T12:00:53-07:00
by noisefix
Bonzo wrote:I would guess your file has another layer or something similar.

Try just working with the first layer:

Code: Select all

Convert c:\imagescript\working\1_ws.tga[0] c:\imagescript\output\Output.jpg
I owe you a beer mate! Cheers

Re: Image Magic cmd-line convert create extra 1x1 pixel file..

Posted: 2008-05-07T13:09:07-07:00
by Bonzo
Cheers noisefix I will have a "Hobgoblin" :D

Image

Re: Image Magic cmd-line convert create extra 1x1 pixel file..

Posted: 2008-05-07T15:12:12-07:00
by noisefix
Bonzo wrote:Cheers noisefix I will have a "Hobgoblin" :D

Image
jesus.. what a freaky beer.

http://www.hobgoblinbeer.com/

They have a competition you may be interested in! :P

cheers, ciao