Re: [AD] stretch_blit_to_hdc() ugly!

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Sat, 2004-05-15 at 16:01, aj wrote:
> alg 4.1.14
> winXP.
> 
> 
> when stretching an image smaller to a hDC the result is ugly.
> when doing the same stretch to an  allegro screen it looks ok.
> 
> attached is a not-so pretty image of a butterfly MPG playing..
> on the left is the image  stretch_blit_to_hdc()   to the desktop.
> on the right is the same image stretch_blit( src=mem bitmap, dst= screen);
> 
> everything is set to 32bit true colour.
> 
> the render size vs the output sizes are shown from the apps interface..
> you can see the internal 'renderer' size is larger than the output sizes 
> (stretch smaller).
> 
> also occurs if the hDC is another window; so the desktop is not a special case.
> 

Looks like 8-bit conversion to me. Could you provide a small example
code, blitting a single bitmap, reproducing this? Someone with windows
could then run it, and look at the problem, if you don't find anything
yourself.

-- 
Elias Pschernig <elias@xxxxxxxxxx>





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/