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

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, helmut, xnview

User avatar
m.Th.
XnThusiast
Posts: 1676
Joined: Wed Aug 16, 2006 6:31 am

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

Post 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
...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/
You do not have the required permissions to view the files attached to this post.
m. Th.

- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
User avatar
JohnFredC
XnThusiast
Posts: 2010
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

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

Post 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!)
John
User avatar
m.Th.
XnThusiast
Posts: 1676
Joined: Wed Aug 16, 2006 6:31 am

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

Post 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
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.
You do not have the required permissions to view the files attached to this post.
m. Th.

- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
User avatar
m.Th.
XnThusiast
Posts: 1676
Joined: Wed Aug 16, 2006 6:31 am

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

Post 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..."
m. Th.

- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -