Objectmix
Tags Register Mark Forums Read

resize picture and problems of interpolation : basic.visual

This is a discussion on resize picture and problems of interpolation within the basic.visual forums in Programming Languages category; 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...


Object Mix > Programming Languages > basic.visual > resize picture and problems of interpolation

Reply

 

LinkBack Thread Tools
  #1  
Old 11-09-2008, 06:59 AM
Junior Member
 
Join Date: Nov 2009
Posts: 0
Application Development is on a distinguished road
Default resize picture and problems of interpolation

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





Reply

Thread Tools



All times are GMT -5. The time now is 01:00 AM.

Managed by Infnx Pvt Ltd.