Re: Combining 2 convert commands into 1

Russ Butler <[email protected]>
Newsgroups gmane.comp.video.image-magick.user
Message-ID <[email protected]>
Steven Matison wrote:
> I have the following 2 convert command lines that work to solve my  
> problem:
> 
> eps to gif:
> convert -density 150 -resize 600x600 351028.eps -profile /home/USER/ 
> profiles/USWebCoatedSWOP.icc -profile /home/USER/profiles/sRGB.icm  
> 351028.gif
> 
> gif to static padded size:
> convert -size 600x600 xc:white -filter lanczos -resize 600x600  
> 351028.gif -gravity Center -composite +repage 351028-test.gif
> 
> 
> 
> Is it possible to combine the arguements into the single command and  
> still get the same output?
> 


just use -write in the middle of the command to get your 1st gif out and 
continue on


convert -density 150 -resize 600x600 351028.eps -profile /home/USER/
profiles/USWebCoatedSWOP.icc -profile /home/USER/profiles/sRGB.icm
-write 351028.gif -size 600x600 xc:white -filter lanczos -resize 600x600
351028.gif -gravity Center -composite +repage 351028-test.gif



-- 
Russ Butler (NJ USA)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.