[haiku-depot-web] Re: HVIF to PNG Conversion Issue

  • From: Andrew Lindesay <apl@xxxxxxxxxxxxxx>
  • To: haiku-depot-web@xxxxxxxxxxxxx
  • Date: Sun, 12 Jul 2015 15:16:29 +1200

Hi Ingo;

Thanks for that helpful tip; it is working properly now.

Regards;

On 12/07/15 11:11, Ingo Weinhold wrote:

I'm wondering if there is any obvious "known gotchas" with using these
static methods before I start hunting around.

The size of the bitmap you create is actually params.size + 1 pixels in
both dimensions (*), which may not be what you intended.

CU, Ingo

(*) No, it doesn't make much sense, but BBitmap(BRect(0, 0, 9, 9),...)
creates a 10x10 bitmap.

--
Andrew Lindesay

Other related posts: