Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 1400
Registered: September 2007
Senior 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: 12096
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 Nov 12 22:05:03 CET 2019

Total time taken to generate the page: 0.02616 seconds