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?".

I have a use case of an image (a drawing) I am producing with Gimp that I have to modify once printed and then create a new layer with the modifications I have made by hand (once scanned).
For the time being, that has proved pretty difficult and not very precise I may say.
The original image is 4960x3508px and the printed/scanned one is 9930x7040.
Just resizing it doesn't quite make the trick.
I know imagemagick is able to get the differences between the two images, but would it be possible for it to rescale the scan precisely so that the drawings are the same size as the original ones, and then find the differences between the original and the resulting image so that we can create a new image with the difference?
Thanks a lot.

You would have to pick at least 3 control points on each image. Then use +distort Affine to warp the one to match the other. Then do the difference processing with either -compose difference -composite or with compare.

ImageMagick does not have any method of automatically aligning the two images. If these are line drawings, then the alignment needs to be very precise otherwise you would get almost everything as different due to shifts between the lines.

Perhaps you might upload your two images to some free hosting service that won't change your images, such as dropbox.com and put the URLs here, so we can see your problem.

The viewport size is the size of the sectors_diagram_A3.png image. The coordinates are X1,Y1 x1,y1 X2,Y2 x2,y2 ..., where X,Y are from the modifs_de_janvier_scannées.png and x,y are from sectors_diagram_A3.png