U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » How to resize an image without the default filter
How to resize an image without the default filter [message #33365] Thu, 28 July 2011 13:44 Go to next message
cbpporter is currently offline  cbpporter
Messages: 1428
Registered: September 2007
Ultimate Contributor
I am doing some tilework and would like to resize an images without the default filter. I can not use filters because it causes the edge of the image to blend into the background, which is supposed to be painted transparent.

DrawImageOp does not seem to have any parameters to control this.
Re: How to resize an image without the default filter [message #33372 is a reply to message #33365] Fri, 29 July 2011 11:12 Go to previous message
mirek is currently offline  mirek
Messages: 14290
Registered: November 2005
Ultimate Member
cbpporter wrote on Thu, 28 July 2011 07:44

I am doing some tilework and would like to resize an images without the default filter. I can not use filters because it causes the edge of the image to blend into the background, which is supposed to be painted transparent.

DrawImageOp does not seem to have any parameters to control this.


IMO, the easiest way is to use Painter.

Mirek

[Updated on: Fri, 29 July 2011 11:13]

Report message to a moderator

Previous Topic: OpenCV
Next Topic: Painter &Painter::RectPath()
Goto Forum:
  


Current Time: Tue Apr 28 03:22:10 GMT+2 2026

Total time taken to generate the page: 0.01376 seconds