[PATCH 5/6] clients: image: use cairo for getting image

2011-12-21 Thread Tiago Vignatti
From: Tiago Vignatti It caches the image using load_jpeg at initialization and the draw handler does the repaint with the correct size. I set nearest-neighbor filtering on cairo which gives a better effect when resizing. Images now are scaled-up correctly without ugly black background. Signed-o

Re: [PATCH 5/6] clients: image: use cairo for getting image

2011-12-16 Thread Bill Spitzak
On 12/16/2011 07:59 AM, Tiago Vignatti wrote: From: Tiago Vignatti I set nearest-neighbor filtering on cairo which gives a better effect when resizing. Images now are scaled-up correctly without ugly black background. Any chance you could report this to Cairo in some more forceful way? I do

[PATCH 5/6] clients: image: use cairo for getting image

2011-12-16 Thread Tiago Vignatti
From: Tiago Vignatti It caches the image using load_jpeg at initialization and the draw handler does the repaint with the correct size. I set nearest-neighbor filtering on cairo which gives a better effect when resizing. Images now are scaled-up correctly without ugly black background. Signed-o