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 |
cbpporter
Messages: 1406 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 |
|
mirek
Messages: 14016 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
|
|
|
Goto Forum:
Current Time: Thu Sep 12 01:12:30 CEST 2024
Total time taken to generate the page: 0.04215 seconds
|