Quiet Icon-O-Matic vector point limit
|Reported by:||kallisti5||Owned by:||stippi|
|Has a Patch:||no||Platform:||All|
Description (last modified by )
hvif has a limitation of 256 nodes per path, 256 paths, etc. Icon-O-Matic happily imports svg vectors outside of these constraints.
When saving an hvif, the extra data points are quietly dropped. This can result in lost work and a general feeling that Haiku/Icon-O-Matic is broken.
Since hvif is working as intended, lets try to provide the following feedback:
1) When importing an svg with more than 256 nodes per path, throw a warning dialog about limitations in the hvif format.
2) When exporting a vector as an hvif with more than 256 nodes per path, throw an error. "Paths with more than 256 nodes detected, path nodes will be truncated"
While Icon-O-Matic does support > 256 points, the end goal is generally to produce an hvif.
From a UX experience, placing a warning on import provides a better chance to catch these issues early and warn users to produce better svg graphics before they "work" on their final icons.
"Nobody likes to have to redo stuff"
Change History (13)
comment:8 by , 22 months ago
|Summary:||Icon-O-Matic vector point limit → Quier Icon-O-Matic vector point limit|