nanogui: Dithered JPEG images
Subject:
Re: [nanogui] Dithered JPEG images
From:
"Greg Haerr" ####@####.####
Date:
13 Dec 2007 22:18:08 +0000
Message-Id: <273201c83dd6$0361dce0$6401a8c0@winXP>
: I am trying to display JPEG images with Nano-X version 0.9 . When I use
: GrDrawImageToFit() to draw a *.jpg - image it is displayed, BUT it is
: dithered (unwanted effect). My screen device has 16 bpp, and PNG images
: are displayed nicely without dithering.
Look at the jpeg image loader engine/image_jpeg.c and change
the FASTJPEG (or similar) define near the top of the file. I think
this used to default to 1 which caused dithering, but worked on
all systems.
Regards,
Greg