#8250 closed enhancement (invalid)
icon o matic has no support for formats
Reported by: | khallebal | Owned by: | stippi |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Applications/Icon-O-Matic | Version: | R1/alpha3 |
Keywords: | png, ico | Cc: | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
when porting apps one needs to convert the original icons to hvif rdef to use in the package,but icon o matic can neither load nor export any format like ,png,ico, or any other common formats,i think an app like that must have such support.
Change History (7)
follow-up: 3 comment:1 by , 13 years ago
comment:2 by , 13 years ago
Having said that, we eventually planned to add PNG support for icons as well, but never got around to do it yet. Mostly because the B_VECTOR_ICON constant would then be misleading :-)
comment:3 by , 12 years ago
Replying to anevilyak:
That can't really work. PNG and ICO are bitmap formats, while HVIF is vector
Why not just generate a matrix of 1 pixel colored squares for each LOD level? It should work well if icon isn't so big.
follow-up: 5 comment:4 by , 6 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
At this point we are pretty well set on HVIF icons, and applications which want PNGs can use them via translations. Most other projects have SVG originals for their icons, so we can just import these as necessary.
comment:5 by , 6 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
Replying to waddlesplash:
At this point we are pretty well set on HVIF icons, and applications which want PNGs can use them via translations.
you're missing the point of this ticket, which is to have a tool that can export from PNG to SVG/HVIF, and I-OM seems the designated one for this task, it already supports exporting from SVG/HVIF to PNG but the reverse case is still missing and was planned, see @axeld's comment, the fact that i mentioned "porting other projects", was just one of several use cases why one would need to export PNGs to vectors. Please keep it open until this feature is implemented.
comment:6 by , 6 years ago
Resolution: | → invalid |
---|---|
Status: | reopened → closed |
This was 7 years ago. We are now firmly set on using vector icons, not bitmaps. Applications can still use bitmap icons in their resources if they wish, and these can be converted from PNGs.
Converting PNG to HVIF is impossible as anevilyak said, and we don't plan to add support for bitmap icons to HVIF as that would defeat its purpose.
Further, as I noted, most applications from Linux now have SVG icons for HiDPI support, etc.; and these of course can be easily imported into IOM. So we don't plan to implement this feature.
comment:7 by , 5 years ago
Milestone: | R1 |
---|
Remove milestone for tickets with status = closed and resolution != fixed
That can't really work. PNG and ICO are bitmap formats, while HVIF is vector, there isn't a practical way to convert from the former to the latter (or at least, not such that you get a useful, scalable icon). SVG import is the only one that would make sense there, which it might already support.