zoom

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
dognose
Posts: 265
Joined: 2005-03-08T22:16:37-07:00

zoom

Post by dognose »

Hi,
I'm fustrated trying to do this relatively simple command.

I want to zoom in a on a picture, but keep the dimensions the same.. (it's for an animation)

I've tried -resize 110% -crop 800x600 , but that left weird crop lines. .

Is there a simpler way?
User avatar
GreenKoopa
Posts: 457
Joined: 2010-11-04T17:24:08-07:00
Authentication code: 8675308

Re: zoom

Post by GreenKoopa »

Not sure what you mean by "weird crop lines". Do you specify offsets (-crop 800x600+0+0)? What is your full command?
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: zoom

Post by snibgo »

I don't know what the weird crop lines are. Can you supply an example (and the command, as GK says, and your IM version)?

For animated zooms, I use "-distort SRT", eg "-distort SRT 1.1,0". It doesn't need a crop, the zoom is smooth (instead of being quantised into integer dimensions), and I can easily choose to zoom in to somewhere other than the centre.
snibgo's IM pages: im.snibgo.com
Post Reply