Rotate and Scaled Out of Proportion

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
blakedbarnett

Rotate and Scaled Out of Proportion

Post by blakedbarnett »

I am trying to convert an image to be rotated and scaled and it has to be very close to look like another image. I have tried afline, rotating, cropping and a combination of all of these. Could someone help me. Here is a link to the original image. http://ifrogz.com/lrg_screenz/101_org.jpg Here is the link to the image I want it to look like when I am done. http://ifrogz.com/lrg_screenz/101.jpg

Don't worry about the shadowing unless it would be easy to do. I need this asap.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Post by anthony »

Rotate the image by 45 degress,, then crop it back to the original image size before scaling it vertically by about 75%.

the crop is the only difficult step and is covered by IM examples at the end of the rotation examples.
Rotating Images
http://www.cit.gu.edu.au/~anthony/graph ... ts/#rotate
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
blakedbarnett

How to you scale just the y axis

Post by blakedbarnett »

I can't seem to scale it on the y axis. What is the command to do that? Is it scale? Thanks for your help.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Post by anthony »

yes. -scale 0x75%
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
blakedbarnett

Post by blakedbarnett »

Thanks I got it and it looks great.
Post Reply