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: 1401
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: 13975
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: Fri Apr 19 01:31:44 CEST 2024

Total time taken to generate the page: 0.02623 seconds