Page 1 of 1

In Crop mode allow to load/save multiple selections/crops

Posted: Wed Nov 13, 2013 10:10 am
by m.Th.
Please add on the Crop toolbar a way to load/save multiple selections. It is very useful when one have to crop scanned books/documents on which eg. in every scanned image are present two (or more) pages (slides) in the aprox. same place.

For GUI proposal I'm thinking at something like this:
Crop-Layouts.jpg
Crop-Layouts.jpg (126.79 KiB) Viewed 1322 times
...but I'd like at least 6 presets.

A much more plain vanilla solution is the one from IrfanView: http://choorucode.com/2010/02/08/irfanv ... le-images/

Re: In Crop mode allow to load/save multiple selections/crop

Posted: Wed Nov 13, 2013 5:08 pm
by JohnFredC
I support+++ this "big time".

Please allow custom names for the saved selections/crops. Would be very frustrating to use without custom names.

(PS. The layouts need custom names too!)

Re: In Crop mode allow to load/save multiple selections/crop

Posted: Thu Nov 14, 2013 10:48 am
by m.Th.
JohnFredC wrote:I support+++ this "big time".

Please allow custom names for the saved selections/crops. Would be very frustrating to use without custom names.

(PS. The layouts need custom names too!)
Something like this??? :)
Edit List.png
Edit List.png (31.72 KiB) Viewed 1299 times
The 'Edit List' dialogue will work with the 1st column of a char-delimited list/file.

IMHO this should be an abstract engine to edit name-value pairs which will work with the actual format of the bookmark.ini file

FTR this is the format of the bookmark.ini : an asterisk ( * ) delimited file where the items are quoted:

"! Pictures !"*"G:/Media/! Pictures !/"
"Output"*"C:/Output/"

Of course the delimiter should be programmer-configurable according with the use case: asterisk (like above), tab, an impossible keyboard char (eg. #$01) etc.

In this way, with this engine we'll cover enough lists in the program:
  • Favorites (Folders) (yes, we still do NOT have a way to delete/edit them)
  • Layouts
  • Thumbnail Sizes (XnView Classic had a way to configure them, isn't it?)
  • Crop ratios
Of course besides this general named item management engine the program should have a small custom code which will encode the specific bits of data to be saved. (Current folder, Selection properties, Layouts, Thumbs sizes etc.)

Besides that the code will be much smaller and easier to maintain (one or two classes perhaps), it will give also a consistent look-and-feel through the GUI.

Re: In Crop mode allow to load/save multiple selections/crop

Posted: Fri Nov 15, 2013 7:37 am
by m.Th.
Updating, the post above, be sure that in the "Edit List" window, the actual list should be, in fact, a grid. This is in order to have the possibility to cover more cases like the one of the window from "Configure Associated Programs..."