GNOME Bugzilla – Bug 735992
Add more resolutions/templates to the New file dialog of GIMP
Last modified: 2017-06-17 00:05:43 UTC
All it takes is to look at the following file https://en.wikipedia.org/wiki/File:Vector_Video_Standards2.svg and add all those resolutions to the GIMP using the naming convention "[width]x[height] (shorthand name for the resolution)", e.g. 640x480 (VGA).
I'm talking about the resolution templates available from File -> New -> Template.
It must be very easy to implement and it would be quite useful.
I don't know if the list gets more usable if we make it so much longer,
but then I don't see why we should not have all these resolutions
You can add to that list yourself via the Templates dialog, check
Windows -> Dockable Dialogs -> Templates. Then attach the resulting
templaterc from your GIMP config directory to this bug.
Created attachment 285778 [details]
OK, here's the file (see the attached file below).
I also consulted with the following files/webpages: https://commons.wikimedia.org/wiki/File:Vector_Video_Standards4.svg, https://commons.wikimedia.org/wiki/File:Vector_Video_Standards5.svg, https://commons.wikimedia.org/wiki/File:Vector_Video_Standards6.svg, https://en.wikipedia.org/wiki/Graphics_display_resolution and http://fc06.deviantart.net/fs25/f/2008/034/a/b/ISO_paper_size_pixel_reference_by_sickfish.png.
I see a conflict between the PAL and NTSC resolutions of GIMP and the information from Wikipedia, so I leave to you the decision of whether the resolutions of PAL and NTSC should be changed in the GIMP.
I also changed the values of the following paper sizes to the ones I found on the Internet (feel free to correct me if I'm wrong):
A3 (300 ppi) = 3508x4961 *
A5 (300 ppi) = 1748x2480 *
A6 (300 ppi) = 1240x1748 *
I may have missed a few intermediary resolutions, check the Wikipedia page linked above and add them if I have missed them from the list.
I also think that it would be a sort of an overkill to add all paper sizes mentioned on the pages https://en.wikipedia.org/wiki/Paper_size and http://designerstoolbox.com/designresources/paper/ to the Templates of GIMP, but you may add them if you have too much spare time to waste on this job.
I also added the following web banner sizes to the list: http://designerstoolbox.com/designresources/banners/ & http://upload.wikimedia.org/wikipedia/commons/4/43/Standard_web_banner_ad_sizes.svg.
When can I expect to see this in the official GIMP distribution? Perhaps in the next release?
Thanks a lot for your feedback.
Thanks, we'll review the list. An updated templaterc will be in 2.10.
Comment on attachment 285778 [details]
This file needs some work to be used in master:
- all templates need icons
- "stock-id" -> "icon-name"
- triple check all sizes
- sort reasonably
I have already 'many' icons for the templates (both color and symbolical). Have a look at icons proposed.
After my work on bug 759904 is finished .... I can take care of these.
After a first look ...
the updated templaterc has a bias
many possible web-banners are included, all video-sizes are included, but what is with
1. paper sizes e.g. http://www.cl.cam.ac.uk/~mgk25/iso-paper.html
2. mobile devices e.g. http://blog.fluidui.com/the-mobile-resolutions-to-be-aware-of-when-designing/
Depending on view the list is either too long, or too short.
Also scrolling through an endless list might be boring.
Other solutions have a 2 factor selection. 1. categories (e.g. web, paper, video, business cards ....) and 2. the specific size
(In reply to ve4ernik from comment #2)
> A3 (300 ppi) = 3508x4961 *
(GimpTemplate "A2 (300 ppi)"
(width 4960) not 4961
have a look here http://www.papersizes.org/
After reviewing the updated templaterc I've uploaded a shortened version. Only the most common video, screen and web-banner sizes are used there. Additionally I've added some business-cards and mobile-devices. (naturally all with different icons).
IMHO default templaterc is for beginners. Pro's have their own custom build templaterc.
If more templates should be used by default I strongly suggest to have a 2-way selection (like e.g. in inkscape, or scribus, or libreoffice, or photoshop, or ....)
All my contributions can be found here
after a review and a merge with master the bug can be closed IMHO.
Created attachment 335691 [details]
Reordered and fixed templaterc
Argh, I missed Klaus' last comment about the updated templaterc in
the icons branch. I applied some fixes to the file that is attached
here, maybe they are useful anyway, something to merge with the file
on the branch, or entirely useless...
Anyway it's better than the previously attached templaterc so here it is.
(In reply to https://bugzilla.gnome.org/show_bug.cgi?id=735992#c6 and Klaus Staedtler's subsequent comments)
Yeah, there are discrepancies between the EXACT resolutions of many of the paper sizes (in pixels) depending on which information source you use as a reference. Rounding off those numbers is tricky since inches/cm (+dpi) don't translate well into EXACT "X x Y px" resolutions.
Other that that, I wholeheartedly agree that the GIMP should have a 2-way/2-factor template selection for the pre-installed resolutions, it's much better than having this HUGE list of resolutions in a single dropdown menu.
I say: let's have all those resolutions, but in the above-mentioned implementation (2 factor selection, etc.) -- it will make things much more organized and easy to use for everyone.
I also agree with https://bugzilla.gnome.org/show_bug.cgi?id=735992#c4 and with Klaus Staedtler's remark that "after a review and a merge with master the bug can be closed IMHO".
What is a 2-was selection? Inkscape is mentioned above, but I just
see a large list of formats there...
(In reply to https://bugzilla.gnome.org/show_bug.cgi?id=735992#c11 )
"What is a 2-was selection?" (it's "2-way/2-factor", not "2-waS")
I think that Mr. Staedtler mentioned this:
"a 2 factor selection. 1. categories (e.g. web, paper, video, business cards ....) and 2. the specific size"
I think that this means that there will be 2 (or more) dropdown menus, one of them will be the categories (Web, Papersizes, Video sizes, Business cards, etc.) and after you select the category from the first dropdown menu, the second dropdown menu will list all relevant resolutions for the selected category. There could be a category called "ALL" in the first dropdown menu -- in case someone is crazy enough to scroll all the way to his favorite resolution without selecting a specific category ("ALL" could be a "meta-category" that includes all resolutions from all other categories).
This is just a guess though.
*** Bug 772019 has been marked as a duplicate of this bug. ***
See the commit by Klaus for various new templates: https://git.gnome.org/browse/gimp/commit/?h=icons-wip&id=66e15ea73c89b911aab330fdab5e534349008274
The new templates are various business card (common?) formats, various smartphone formats (for background images?) of Apple and Samsung, many webbanner (common?) formats, common screen formats (HD 720p, 1080p, 4K, etc.)…
So what do we want to keep from this?
For my personal usage, I am all for the most common HD and 4K formats at least, since GIMP is also used a lot for computer publishing. Not so sure about more obscure screen formats. Maybe we want to get rid of the old formats while adding new ones? Who still create images for NTSC or PAL specifically?
Maybe the smartphone formats are acceptable for the same reason, though it names acutal brands and models, so I'm not so sure how acceptable this would be.
Not so sure about the web-banner formats though. Is there an actual common standard? I know that there are a whole branch of users who spend a lot of time making banners, but I wonder if such a long list is needed.
Last but not least, there is the plan to have plugin/extension management system. New templates could also be GIMP extensions, so we could propose extended lists for later installation while still keeping the default list short with only the most common formats.
BTW, a new branch should have been used for this - someone who gets the icons-wip branch checked out should be able to assume that only icons have been dealt with in there.
> BTW, a new branch should have been used for this - someone who gets the icons-wip branch checked out should be able to assume that only icons have been dealt with in there.
I agree, but what done is done. Klaus was learning and it's not like we have a feature workflow that well calibrated.
Cleaned up the patch by Klaus and merged it to master. Will be available in 2.9.6.