Ideally the user could load more than 1000 sizes.
The current GUI setup does not allow to do this. When I thought the new GUI I was thinking in up to 15 sizes, but after seeing some scripts out there I find out that If you want to automatize you want to automatize extreme amounts of work.
The new GUI proposal is as follows
- Keep the current button layout behaviour at the top. It's always visible.
- On the bottom a whitebox listing all selected sizes.
- A couple of buttons to add sizes from text file, or existing files.
Sizes can be added in 3 ways.
- Using the GUI. User selects A ratio, width and height, when he is happy hits the '+' button
- Using the gui add from file button. It parses a text file containing a dimension "wxh" for each line.
- Loaded from presets. Using the key "predefined_sizes" the user could add sizes from presets. the format is a space separated list of dimensions. ex. (1280x1024 1440x990)
An experimental way of adding size attributes could be: Add files, but instead of adding them to the convert tree, add their sizes to the output sizes list.
Managing sizes
size list will be used to select a size this selection provides the following advantages over the previous GUI implementation in two ways.
- It allows to use the selected size from the list as the size for the preview option
- It allows to delete the size
There can be other options to select all sizes bigger than, or smaller than, to delete their values.
Proposals
I had the idea integrate the sizes in groups. for example, if a user creates a file like this
Wallpaper size
1920x1080
1024x768
#
Icon sizes
64x64
128x128
etc...
All sizes would be stored in independent list to be able to "load" them, or unload them from the sizes chunk.
Also it might be possible to add an resize operator, filter, mode, separatedly for each list, or for each file. (IMHO setting an operator per size is a bit exaggerated, but using one for a group of sizes kind of makes sense, as you might don't want to crop your artwork for website presets but you might want to for wallpaper presets.)