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

zoom

Post by dognose » 2013-05-24T07:34:49-07:00

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 » 2013-05-24T07:47:31-07:00

Not sure what you mean by "weird crop lines". Do you specify offsets (-crop 800x600+0+0)? What is your full command?

snibgo
Posts: 12292
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: zoom

Post by snibgo » 2013-05-24T08:02:57-07:00

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