Re: Scanline processing in a GeglOperation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 22, 2008 at 7:59 AM, Hans Petter Jansson <hpj@xxxxxxxxxxx> wrote:> On Mon, 2008-04-21 at 20:36 +0100, Øyvind Kolås wrote:
>  http://hpjansson.org/temp/meadow-dithered.png>>  The picture has one bit per channel for a total of 8 colors, making it a>  true retro experience. From left to right -- original, thresholding,>  Bayer, F-S, covariant random and random dithering.
This might indeed be useful at some point, but right now I do not think theGEGL architecture is flexible enough to warrant compilation and installationby default. Thus I will drop this .c file into the workshop directory wherevarious works in progress reside. It is possible to write specialized opsthat would read the RGBA u16 and output the required file. (UsingR'G'B'A u16) would probably give slightly better results assuming thedisplays and data involved are roughly sRGB data.
A plan for supporting "pallettized" images is forming somwhere on thehorizon for GEGL. It would probably involve a specialized babl format andthe ability to attache a floating point RGBA pallette to the format.Another similarissue for babl is that it isn't currently capable of generating pixelsfor formats wherethe components are not a multiple of 8, it is due to these short comings in GEGLI've placed color-reduction in the workshop for now.
For some ramblings about indexed/palettized images take a look at:http://codecave.org/?weblog_id=indexed_metamers
/Øyvind K.-- «The future is already here. It's just not very evenly distributed» -- William Gibsonhttp://pippin.gimp.org/ http://ffii.org/_______________________________________________Gegl-developer mailing listGegl-developer@xxxxxxxxxxxxxxxxxxxxxxxxxxx://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer

[Index of Archives]     [Yosemite News]     [Yosemite Photos]     [gtk]     [GIMP Users]     [KDE]     [Gimp's Home]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux