Opened 7 years ago

Last modified 7 years ago

#8586 new bug

Alpha-blended HVIF icon converted from SVG-image frequently changes his hue.

Reported by: diger Owned by: stippi
Priority: normal Milestone: R1
Component: Applications/Icon-O-Matic Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

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

Attachments (5)

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

Download all attachments as: .zip

Change History (8)

by diger, 7 years ago

Attachment: rdp.zip added

by diger, 7 years ago

Attachment: Clip.png added

by diger, 7 years ago

Attachment: Clip1.png added

by diger, 7 years ago

Attachment: Clip2.png added

comment:1 by X512, 7 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 7 years ago by X512 (previous) (diff)

comment:2 by stippi, 7 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, 7 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).

Note: See TracTickets for help on using tickets.