[AD] stretch_blit_to_hdc() ugly!

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


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.


aj.

Attachment: stretch_blit_to_hdc.PNG
Description: PNG image



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