Opened 12 years ago

Closed 5 years ago

Last modified 4 years ago

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

comment:1 by anevilyak, 12 years ago

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.

comment:2 by axeld, 12 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 :-)

in reply to:  1 comment:3 by X512, 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.

comment:4 by waddlesplash, 5 years ago

Resolution: invalid
Status: newclosed

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.

in reply to:  4 comment:5 by khallebal, 5 years ago

Resolution: invalid
Status: closedreopened

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 waddlesplash, 5 years ago

Resolution: invalid
Status: reopenedclosed

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 nielx, 4 years ago

Milestone: R1

Remove milestone for tickets with status = closed and resolution != fixed

Note: See TracTickets for help on using tickets.