I’d like to use the data stored in a .canvas file to extract the notes that said canvas contains from the .png output using Imagemagick -crop. The width and height seem fine, but the x and y values of the nodes are often negative and don’t correspond to the actual coordinates of the rectangles in the picture derived from the canvas.
In case you’re wondering what I’m trying to achieve, this enquiry is related to Anki’s Image Occlusion tool. Cropping isn’t actually the ultimate goal, what I really care about are the coordinates of each note / node.
Fiddling with imagemagick hasn’t yielded any valuable result.
Thanks for your help!