I am making PDF plots using Plotly which sometimes leaves more white space at 
the margins than seems necessary, especially when considering cramming them 
into a column in a paper. Skim does a nice job of cropping, but I’m wondering 
if there is a way to do this programmatically, e.g,. from Python, Julia, or 
Ada. I know that Skim is scriptable but I can’t find anything in Skim’s 
Applescript dictionary about cropping.

I know that if there is an Applescript for doing this on a specified file or 
all the PDFs in a folder that I can issue the command from any of the other 
mentioned languages. I would gladly consider a non-Skim way also but I need a 
method that detects the white-space margins rather than having me manually 
determine the coordinates of a crop box since they will be different for 
different images.

Jerry



_______________________________________________
Skim-app-users mailing list
Skim-app-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-users

Reply via email to