Re: [Gimp-developer] Overlay Mode - fix.
- From: Øyvind Kolås <pippin gimp org>
- To: Paul Geraskin <paul_geraskin mail ru>
- Cc: gimp-developer-list gnome org
- Subject: Re: [Gimp-developer] Overlay Mode - fix.
- Date: Wed, 14 Nov 2012 03:55:00 +0100
On Wed, Nov 14, 2012 at 3:29 AM, Øyvind Kolås <pippin gimp org> wrote:
> babl_process (babl_format ("R'G'B'A u8"), babl_format ("RGBA float"),
> source_buffer, destination_buffer, n_pixels);
I should have looked up the header or some actual code first, the
first argument of babl_process is a babl-fish for the conversion that
can be cached, more correct code could be:
const Babl *fish = babl_fish (babl_format ("R'G'B'A u8"), babl_format
("RGBA float"));
..
babl_process (fish, source_buffer, destination_buffer, pixel_count);
--
@hodefoting
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]