Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5980845
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T21:51:33+00:00 2026-05-22T21:51:33+00:00

in my application, I need to apply a blur-filter to an image. However, the

  • 0

in my application, I need to apply a blur-filter to an image. However, the effect should get stronger, the further the pixel is away from a line the user may draw freely in the image.

Lets assume the line the user draws splits the image horizontally exactly in the middle. Then along this line, the effect of the gradient should be 0%, half the way up and down from this line, the effect should be 50% etc. (If you have Picasa on your machine, there’s a similar effect for an elliptic gradient)

Now I thought I might try the following (which I have not, so far – I’m just collecting ideas here): I might create a 100% blurred version of the image and combine it with the original image using an alpha-mask. This alpha-mask would be created from a simple black/white linear gradient.

Do you think this might work? Are there other implementations possible using filters directly?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T21:51:34+00:00Added an answer on May 22, 2026 at 9:51 pm

    Yes, the approach you have in mind will work just fine. Here are two images, the left is a normal image and the right is composed of two images on top of each other where the bottom is normal and the top is blurred and the top uses an opacity mask to blend the two together:

    <UniformGrid Columns="2">
        <Image Source="http://thecybershadow.net/misc/stackoverflow.png"/>
        <Grid>
            <Image Source="http://thecybershadow.net/misc/stackoverflow.png"/>
            <Image Source="http://thecybershadow.net/misc/stackoverflow.png">
                <Image.Effect>
                    <BlurEffect Radius="5"/>
                </Image.Effect>
                <Image.OpacityMask>
                    <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
                        <GradientStop Color="Transparent" Offset="0"/>
                        <GradientStop Color="White" Offset="1"/>
                    </LinearGradientBrush>
                </Image.OpacityMask>
            </Image>
        </Grid>
    </UniformGrid>
    

    And this is what it looks like with the right image progressively blurred as you go top to bottom:

    Logo Blurred and Blended

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In the java web application need to select the file from server and print
In my iPhone application I need to show a video image in UITableView. Each
I am using FieldSet element in my web application. Now I need to apply
I have a gwt application which I need to apply custom themes for specific
I am trying to create an mvc2 application i need to apply localization localization
Hi every body i am new in iPhone application development. In my application need
I have two application that need to talk to each other. App1 needs to
In my C# application I need to create a .resx file of strings customized
I have an application I need to analyze. I have the source code here.
For my web application I need to close the child window whenever the parent

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.