This is my first post after browsing here for quite some time.
I have learned a lot about darktable from its advanced users and developers, and it is why I am hoping someone might help me.
I have used darktable to edit old scanned images and masks to remove unneeded background captured during the scanning. As you can see from the picture attached, I am now left with a large 100% white space around the main image I want to keep.
I can export the images and use imagemagick’s “trim” command or IrfanView (Windows) to remove most of the white background after, but I am wondering if there is some sort of script or hidden option that does what I want without leaving dt, i.e. to automatically crop the white sides on export and keep the main subject in the center ?
Hi and welcome to the forum. I would use the cropping module to do this and possibly the rotate and perspective module if the scan was not perfectly straight. I do not see this as part of the exporting workflow, but rather the editing steps.
Thank you. It looks like that is the only way this could work in dt. I was hoping to save some time I lost with retouching and making everything white for easy autotrimming. Cropping manually would never be as precise or quick for hundreds of pictures, I think.
I’ve read online about dt and its use of Imagemagick to load images, but am not sure I understand how much of the IM library it uses or if the “trim” option of Imagemagick is somewhere in darktable.