Opened 8 years ago

Closed 7 weeks ago

Last modified 6 weeks ago

#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


Haiku hrev44069 gcc4. Press Alt+ to reproduce this bug.

Attachments (5) (1.5 KB ) - added by diger 8 years ago.
Gnome-preferences-desktop-remote-desktop.svg (26.3 KB ) - added by diger 8 years ago.
Clip.png (2.5 KB ) - added by diger 8 years ago.
Clip1.png (2.3 KB ) - added by diger 8 years ago.
Clip2.png (2.6 KB ) - added by diger 8 years ago.

Download all attachments as: .zip

Change History (11)

by diger, 8 years ago

Attachment: added

by diger, 8 years ago

Attachment: Clip.png added

by diger, 8 years ago

Attachment: Clip1.png added

by diger, 8 years ago

Attachment: Clip2.png added

comment:1 by X512, 8 years ago

Component: Applications/TrackerApplications/Icon-O-Matic
Owner: changed from axeld to stippi

Problem is actually in Icon-O-Matic SVG importing. It produce invalid icons.

Duplicate of #5955

Last edited 8 years ago by X512 (previous) (diff)

comment:2 by stippi, 8 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 X512, 8 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 pulkomandy, 2 months ago

The original issue of showing random colors has been solved (gradients are padded now). But the colors are still not parsed properly. improves this but there is still a problem with handling gradient transforms.

comment:5 by waddlesplash, 7 weeks ago

Resolution: fixed
Status: newclosed

Fix merged in hrev54246.

comment:6 by nielx, 6 weeks ago

Milestone: R1R1/beta2

Assign tickets with status=closed and resolution=fixed within the R1/beta2 development window to the R1/beta2 Milestone

Note: See TracTickets for help on using tickets.