Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Apply effect and move pixels

Posted on 2007-11-19
1
Medium Priority
?
244 Views
Last Modified: 2011-10-03
I'm writing an app that is similar to the Clone stamp feature in Adobe Photoshop.  I currently have it cloning pixels around a point.  I need to be able to apply effects such as blur and opacity to the copied pixels.  
I'm using this to remove Dust Spots from images.


g.DrawImage(BkgImg, New Rectangle(DestX, DestY, DestW, DestH), _
            New Rectangle(SrcX, SrcY, SrcW, SrcH), GraphicsUnit.Pixel)

Open in new window

0
Comment
Question by:Jimmy Lea
1 Comment
 
LVL 21

Accepted Solution

by:
surajguptha earned 1500 total points
ID: 20328268
Here is a component that uses both Blur and Opacity to achieve the aqualize type of touch to the images. you could use its code to set ur opacity and blur

http://www.codeproject.com/cs/media/aqualize.asp
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
In real business world data are crucial and sometimes data are shared among different information systems. Hence, an agreeable file transfer protocol need to be established.
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Screencast - Getting to Know the Pipeline
Suggested Courses
Course of the Month12 days, 16 hours left to enroll

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question