[magick-users] question

Adam Shaw adamshaw at cs.uchicago.edu
Tue Jan 16 01:04:33 CST 2007


> That's great. Thanks for the help.
>
> I have a follow up question. Now that my image is rotated to  
> landscape, I would like to pad it with extra space on either side  
> such that the proportions of the thing are 6x4.
>
> Specifically, if I start with a 400x400 image, I'd like to add 100  
> pixels of some color (say white) to each side to end up with a  
> 600x400 image.
>
> Another example: I start with a 1000x3000 image. First I rotate it  
> to 3000x1000 (using the command you suggested). Now I'd like to add  
> a width 500 strip to top and bottom to end up with 3000x2000.
>
> I imagine this involves overlaying the original image on a canvas  
> of some sort?
>
> Any help very much appreciated.
>
> Regards, Adam Shaw
>
>> landscape rotate....    -rotate -90\<
>>
>> For the oppisite
>> portraite rotate....   -rotate 90\>
>>
>> Pick positive or negative as appropriate.
>>
>> There is also   -auto-orient  too which rotates according to cammera
>> orientation EXIF meta-data.
>>
>> See IM Examples, Rotate
>>    http://www.cit.gu.edu.au/~anthony/graphics/imagick6/distorts/ 
>> #rotate
>>
>>
>>   Anthony Thyssen ( System Programmer )     
>> <A.Thyssen at griffith.edu.au>
>>   
>> --------------------------------------------------------------------- 
>> --------
>>    I always figured that if I ever stopped learning, it would
>>    either mean that I had closed my mind, or that I was dead.
>>                           -- Robert Asprin  ``Myth-nomers and Im- 
>> pervections''
>>   
>> --------------------------------------------------------------------- 
>> --------
>>      Anthony's Home is his Castle     http://www.cit.gu.edu.au/ 
>> ~anthony/
>> _______________________________________________
>> Magick-users mailing list
>> Magick-users at imagemagick.org
>> http://studio.imagemagick.org/mailman/listinfo/magick-users
>>
>



More information about the Magick-users mailing list