vanyossi / artscript

Artscript is a small app to easy convert from production file images(KRA,XCF,PSD,ORA,SVG) to universal formats(JPG, PNG, GIF or WEBM). If installed it uses gimp, inkscape and calligra in console mode to render PNG files in batch.
GNU General Public License v3.0
26 stars 5 forks source link

Current gui makes difficult to browse many size options #33

Closed vanyossi closed 10 years ago

vanyossi commented 11 years ago

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

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.

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.)

Deevad commented 11 years ago

An independent list of size of preset sounds good ; in V2 I indeed spend a bit of more time to set size than in V1. Here the one I use mostly :

In my POV, I think Artscriptk preset should guide user with a simple list of common size. 15 sounds a lot. 6 or 8 solid one sounds more productive.

vanyossi commented 11 years ago

It's so hard to make good GUI =(.

I suppose the common use would be to resize to one or a dozen of sizes, I myself do not resize to all available formats around. But thinking into making life easier I am aiming for the casual resizer and the hard core one (see this, scroll to the bottom of the script https://github.com/vladstudio/bash-resizing-wallpapers/blob/master/save.sh )

I guess, for general use you are completely right, Defaults must contain common sizes, like the classic HD 1080p and photo 4:5 ratio. Those sizes could be contained in a dropdown box, with the format in a single box (1920x1080). Making it easy to the user to add those sizes to the resize list. But, to manage custom sizes, the script should also be able to load from presets files. These values could be contained in custom lists and the user could simply select the list name to add all. for example: Select "my custom wallpaper sizes name list" and press the "add to resize queue" button to load all sizes from that preset list to the convert process.

That might make it easier to add sizes, from the casual 1 resize, to the most industrial hungry resizers. It's strange I'm having so much trouble with the resize tab this time. It was the least feature rich option in V1.

It's so hard to make good GUI =( ...

vanyossi commented 10 years ago

Deevad, the new interface should be faster if properly configured. But It might be a bit complicated as I still have to find a way to let the user know some advanced features. :p

To activate a size.

Select anything from the list. Press "a" or "+" in the keyboard. Or click on the checkbox

To deactivate

Select and press "d" or "-"

Selection (keyboard)

ctrl-a (all), ctrl-i (inverse), ctrl-d (none) Or the buttons. All, inverse, or select checked (the one with image.)

To start a fresh list, press "clear"