#18480 closed enhancement (duplicate)

Importing the SVG icon for Iaito works fine, exporting it doesn't work

Reported by: begasus Owned by: stippi
Priority: normal Milestone: Unscheduled
Component: Applications/Icon-O-Matic Version: R1/beta4
Keywords: Cc:
Blocked By: #13978 Blocking:
Platform: All

Description

When exporting to rdef you'll get a failure notice that the image is out of range, In IOM you can't see the out of range marges, in Wonderbrush you can see them, but Wonderbrush can't convert to rdef with something usefull.

Mentioned issue at haikuports: https://github.com/haikuports/haikuports/issues/8903

Mentioned icon: https://github.com/radareorg/iaito/blob/master/src/img/iaito.svg

Change History (5)

comment:1 by pulkomandy, 17 months ago

"out of range" usually means there are too many items in the resulting file (more than 4096 shapes or paths for example).

Surely this specific file doesn't need to be so complex and can be "cleaned up" a bit. But at least Icon-O-Matic could be more specific about which limit is exceeded. Something like "This icon has 8000 shapes, but the maximum allowed in HVIF files is 4096".

comment:2 by pulkomandy, 17 months ago

Component: - GeneralApplications/Icon-O-Matic
Owner: changed from nobody to stippi
Type: bugenhancement

comment:3 by Zardshard, 17 months ago

The actual limit turns out to be 255 points per path. A lot of things of the HVIF icon format are limited to that count since HVIF uses only one byte to store their count.

comment:4 by Zardshard, 16 months ago

#13978 is related

comment:5 by pulkomandy, 16 months ago

Blocked By: 13978 added
Resolution: duplicate
Status: newclosed

Yes, right, I think there's no need to keep both of them open.

Note: See TracTickets for help on using tickets.