This is a discussion on resize picture and problems of interpolation - basic.visual ; Hello everyone. I've talked with my collegue and he told me that for resizing a picture he uses this function: g.drawpicture(skin_picture, 0,0,new_width, new_Height-298,0,0, Skin_picture.width, Skin_picture.Height) but I've this issue: after resizing, the picture has many artefacts due to interpolation's problems; ...
Hello everyone.
I've talked with my collegue and he told me that for resizing a picture he
uses this function:
g.drawpicture(skin_picture, 0,0,new_width, new_Height-298,0,0,
Skin_picture.width, Skin_picture.Height)
but I've this issue:
after resizing, the picture has many artefacts due to interpolation's
problems; for example white places close by black ones become grey more or
less dark.
The same happens with red places close by black ones and blue places close
by black ones.
How can I act to avoid this kind of problem?
Is there another function which works better than "drawpicture"?
Thanks
Francesco