Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Differentiate Image Mimetypes (bmp, jpeg, gif, ico, tiff, aseprite) #3789

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

irasponsible
Copy link

@irasponsible irasponsible commented Jul 27, 2024

Additional icons to differentiate image file type icons. This is 6 new icons (with 6 sizes each).


It can be tricky dealing with a folder full of images with different filetypes when they have the same icon (and are too large for a preview, or unsupported by the file manager). To remedy, I made some recoloured icons to cover some basic image types; bmp, jpeg, gif, ico, and tiff. I left png as-is.

bmp jpeg gif ico tiff aseprite generic (unchanged)
image-x-bmp image-x-jpeg image-x-gif image-x-ico image-x-tiff image-aseprite image-x-generic

Open to discussion or swapping any of these colours about if you have another preference! I went with orange for jpg, matching Windows XP's old icon for the same, and similar for tiff. I was originally going to use green for gif, but it was hard to find a nice looking green that differentiated well from generic.

Also added an icon for .aseprite files (using the dim purple of Aseprite's logo and UI), and additional symlinks for image-icon, image-x-icon, and image-jpeg2000. Added symlinks for 'secondary' image types such as (e.g.) portable-bitmap and image-vnd.microsoft.icon to map to image-x-bmp and image-x-ico, instead of image-x-generic.

@morganist
Copy link
Contributor

looks pretty! we will see if we would proceed with this change.

@buufmax
Copy link

buufmax commented Oct 5, 2024

Please add support for other formats WebP,AVIF,HEIF.
I really hope you guys release it one day with those changes, as it will make it easier to see images of different formats.

Even for videos formats, it would be genius to have some colors for MP4,MKV,WMV,VOB,M2TS and so on...

@irasponsible
Copy link
Author

irasponsible commented Oct 7, 2024

Please add support for other formats WebP, AVIF, HEIF.

If this set gets added, I'll think about doing more. I'm conscious of how many icons each different format adds (6 a pop!), so I was limiting it to the most common formats.

Alternatively, I don't think it would be unreasonable to symlink .heif and .avif to match the .tiff and/or .jpeg icons? Someone with more knowledge of photography-focused formats would need to chime in with which formats are unlikely to be used at the same time. .webp has the same 'purpose' as png (both are portable network graphics, in a sense), so having those the same seems pretty reasonable to me.

Even for videos formats

A similar thing for video would probably make sense, but I didn't run across the issue to think of it myself.
I don't think it's totally reasonable for every possible format to have a unique colour, so again, it'd be helpful if someone with relevant experience chimed in to say which ones are likely to end up in the same folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants