crop and swap images from driver license

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
yecsabc
Posts: 3
Joined: 2017-03-17T11:02:40-07:00
Authentication code: 1151

crop and swap images from driver license

Post by yecsabc »

I have two sample California driver licenses. I'd like to crop the images from the DL and then swap the images between the two samples in command line. How could I achieve it using imagemagick? Are there any other tools recommended? Thanks.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: crop and swap images from driver license

Post by fmw42 »

This seems to me to have questionable legal objectives.
yecsabc
Posts: 3
Joined: 2017-03-17T11:02:40-07:00
Authentication code: 1151

Re: crop and swap images from driver license

Post by yecsabc »

fmw42 wrote: 2017-03-17T11:18:13-07:00 This seems to me to have questionable legal objectives.
Didn't mean to bring questionable legal problems. I am asking this only to complete some software testing.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: crop and swap images from driver license

Post by snibgo »

IM can crop out part of one image and composite that over another image. But you would need to know the coordinates of the image parts. You could find those with Gimp. You could do all the work in Gimp, and that's the obvious tool to use.
snibgo's IM pages: im.snibgo.com
yecsabc
Posts: 3
Joined: 2017-03-17T11:02:40-07:00
Authentication code: 1151

Re: crop and swap images from driver license

Post by yecsabc »

snibgo wrote: 2017-03-17T11:37:58-07:00 IM can crop out part of one image and composite that over another image. But you would need to know the coordinates of the image parts. You could find those with Gimp. You could do all the work in Gimp, and that's the obvious tool to use.
Thanks. I just downloaded it and will play with it soon.
Post Reply