nanogui: Dithered JPEG images


Previous by date: 13 Dec 2007 22:18:08 +0000 text align right, Friedemann Leitenberger
Next by date: 13 Dec 2007 22:18:08 +0000 Compile error, Demetris Zavorotnichenko
Previous in thread: 13 Dec 2007 22:18:08 +0000 Dithered JPEG images, Sven Johnsson
Next in thread:

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


Previous by date: 13 Dec 2007 22:18:08 +0000 text align right, Friedemann Leitenberger
Next by date: 13 Dec 2007 22:18:08 +0000 Compile error, Demetris Zavorotnichenko
Previous in thread: 13 Dec 2007 22:18:08 +0000 Dithered JPEG images, Sven Johnsson
Next in thread:


Powered by ezmlm-browse 0.20.