I don´t know nothing about: "using commands, in dos" - but you can make the image a pattern - then draw rectangles as crop shapes as you like - combine them - and use the pattern as fill - maybe:
Thank you, PixelPest, not exactly what I was looking for but still good info as i did not know you could do that.
Thank you, Tyler Durden, I came across "--export-id" but did not know how to use it and I think it may not do what I want. If I export and save the object will it save the background inside the object. I was thinking of using it with the "--export-id-only", once I figured out how to use it, as I have lots of, different sized, shapes I want the image in.
I Have successfully managed to crop the image using the "--export-area=0:0:0:0" but it is cropping the wrong area of the image any tips of getting the coordinates right.
Ok, thank you, everyone, for their help, managed to crop the image using the "--export-area=0:0:0:0" command, had to understand SVG y coordinates works from top to bottom, and rest was using the crop size against the canvas size.
I would like to crop one image to many crop sizes, using commands, in dos, what is the command to do this or is there a better way.
I don´t know nothing about: "using commands, in dos" - but you can make the image a pattern - then draw rectangles as crop shapes as you like - combine them - and use the pattern as fill - maybe:
There are new command line strings.
"Multiple objects in single file can be saved into individual files by giving a comma separated list of objects to the command:
--export-id"
https://wiki.inkscape.org/wiki/index.php/Release_notes/1.0#Command_Line
https://wiki.inkscape.org/wiki/index.php?title=Using_the_Command_Line
Thank you, PixelPest, not exactly what I was looking for but still good info as i did not know you could do that.
Thank you, Tyler Durden, I came across "--export-id" but did not know how to use it and I think it may not do what I want. If I export and save the object will it save the background inside the object. I was thinking of using it with the "--export-id-only", once I figured out how to use it, as I have lots of, different sized, shapes I want the image in.
I Have successfully managed to crop the image using the "--export-area=0:0:0:0" but it is cropping the wrong area of the image any tips of getting the coordinates right.
Ok, thank you, everyone, for their help, managed to crop the image using the "--export-area=0:0:0:0" command, had to understand SVG y coordinates works from top to bottom, and rest was using the crop size against the canvas size.