#8586 closed bug (fixed)
Alpha-blended HVIF icon converted from SVG-image frequently changes his hue.
Reported by: | diger | Owned by: | stippi |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta2 |
Component: | Applications/Icon-O-Matic | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
Haiku hrev44069 gcc4. Press Alt+ to reproduce this bug.
Attachments (5)
Change History (11)
by , 13 years ago
by , 13 years ago
Attachment: | Gnome-preferences-desktop-remote-desktop.svg added |
---|
by , 13 years ago
by , 13 years ago
by , 13 years ago
comment:1 by , 12 years ago
Component: | Applications/Tracker → Applications/Icon-O-Matic |
---|---|
Owner: | changed from | to
comment:2 by , 12 years ago
SVG is a huge specification with all sorts of features. I understand it is frustrating when an icon does not look correctly after importing. That's simply because IOM really only supports a very limited set of SVG features. No external CSS styling for example, only inline styling. Almost no referencing. The SVG import feature is really only intended to help get some paths into IOM and then do a lot of manual cleanup and tweaking to produce a final HVIF icon. Similarily, the SVG export is not complete either, and it cannot be, since SVG does not support all gradient types that IOM supports.
So in other words, this is a "won't fix" as far as I am concerned. If some other developer is interested... please go for it! But proper SVG support could probably result in a triple the size of the current IOM code just for that.
comment:3 by , 12 years ago
I know that SVG is a very complicaed format. But there are easy steps to improve SVG support:
1) Don't produce invalid gradients
2) Implement matrix transformations for gradients(missing in Icon-O-Matic and Wonderbrush).
comment:4 by , 5 years ago
The original issue of showing random colors has been solved (gradients are padded now). But the colors are still not parsed properly.
https://review.haiku-os.org/c/haiku/+/2661 improves this but there is still a problem with handling gradient transforms.
comment:6 by , 5 years ago
Milestone: | R1 → R1/beta2 |
---|
Assign tickets with status=closed and resolution=fixed within the R1/beta2 development window to the R1/beta2 Milestone
Problem is actually in Icon-O-Matic SVG importing. It produce invalid icons.
Duplicate of #5955