[haiku-3rdparty-dev] Re: convert HVIF to an .svg (data blob)

  • From: "Alexander G. M. Smith" <agmsmith@xxxxxx>
  • To: haiku-3rdparty-dev@xxxxxxxxxxxxx
  • Date: Sun, 20 Jul 2014 10:04:44 -0400

On 20/07/14 04:03 AM, hey68 you wrote:
If possible, I would like to be able to convert on the fly the HVIF icon data to a svg binary data blob (and for legacy BeOS apps, convery the B_ICON image data into .bmp data blob) so that I can display the icon image in my dock.

The icon data is stored in an attribute attached to the application's executable file. You'd somehow have to get this data, render it to an off-screen bitmap and then use that in your QT program. Perhaps you might find an example of this in the Tracker source code.

Or if you want to have it as SVG, you may need to use WonderBrush to export it in that format. Or maybe there is already a Translator that converts from icons to SVG? That would be the proper BeOS / Haiku (and Amiga) way of doing the conversion.

- Alex

Other related posts: