The Ultrashock Ultra Bundle
  • Home
  • Community
  • Forum
  • Flash
  • ActionScript
  • Thread
  •  
  • Previous topic
  • Next topic
Sign up to post

Flash
 ActionScript

  • tahadaf Author 
    • 223 
    • 0 
    • 3 
    Live Dynamic image effects!
    tahadaf

    Last reply May 23 2009, 04:23 PM

    by tahadaf

    Posted: May 23 2009, 01:14 PM

    by tahadaf

     

Hey Guys, have you ever happen to see how they apply different effects on images on picnik.com ?

Take a look at the link, upload an image and play around with the effects! I thought about some of them and yes, I managed to at least imagine how they might have done it in AS3 but I have no idea about some others! have you? just for an example how on earth have they made a so good looking “Pencil Sketch” effect like that?!

The classes which I can think of for image effects are ColorTransform, flash.filters…

let me hear what you think about those image effects? smilie let’s guess the tech they are using on different effects…

  3 REPLIES
 
Nutrox
1  
Nutrox

Have a look at the ConvolutionFilter. A simple “sketch” effect can be applied like this…

var v:Number = 15; // higher number = more effect
var m:Array = [ -v, v, v, -v, v, 0, -v, v, 0 ];
var 
f:ConvolutionFilter = new ConvolutionFilter( 3, 3, m, 9 );

displayObject.filters = [ f ]; 
  • 23 May 2009 03:17 PM
  •  
tahadaf Author 
2  
tahadaf

Oh my God, how beatiful! Does that mean that we can also create those custom blur effects (similar to fast zooming blur) with just these filter classes we have?

Am I correct to say that the only way to find the effect that I’m looking for is to try different matrix numbers and see how it may look?

So brilliant… I’m falling in more love with AS3!

I wonder if there’s any website who have given some ready settings to get me going even faster…?

Thank you Nutrox, you seem to be my hero…

  • 23 May 2009 03:55 PM
  •  
tahadaf Author 
3  
tahadaf

Just searching for the keyword “ConvolutionFilter” is giving me a thousand tutorials, etc, etc. So exciting smilie

  • 23 May 2009 04:23 PM
  •  
  •   Log in or join for free to make a comment.
 
Topic actions
  •  Share on Facebook
  •  Share on Twitter
Topic Categories
  •  Show All Topics
  •  Development
    •  Server Side
    •  Client Side
  •  Creative Software
    •  Web
    •  Video
    •  3D
    •  Illustrator
    •  Photoshop Battles
    •  Photoshop
  •  Design
    •  Typography
    •  Resources & Insight
    •  Checkpoint
  •  Career
    •  Copyright Matters
    •  Advice & issues
    •  Job Seekers
    •  Job Offers
  •  Flash
    •  UltraMath
    •  OOP
    •  Third Party Tools
    •  Open Source alternatives
    •  Data Communication
    •  Components
    •  Flex
    •  AIR
    •  Flash Lite
    •  Flash Professional
    •  Flash Newbie
    •  ActionScript
    •  XML
  •  Lounge
    •  Polls
    •  Random Chat
    •  Showcase And Critique
    •  BombShock Award Nominations
  •  Community Essentials
    •  BombShock Award Winners
    •  Tutorials
    •  Interviews
    •  News
    •  Bitmap tutorials
Popular Topics
  • Sort by: 
  • Activity
  • Views
  • Comments
  • Likes
Advertise with us
  • Your advertisement here!
  • loading
Ultrashock
  • Creative Assets
  • Community
  • Blog
  1. Home
  2. Forum
+/-
Creative Assets
  • Categories
  • Contributors
  • How to buy
Make Money
  • Commission Rates
  • Referral Program
  • Contributor Program
Community
  • Activity Feed
  • Forum
  • Profiles
About
  • Quick Tour
  • Our History
  • Banners & Logos
Support
  • Contact Ultrashock
  • Advertise with us
  • Legal Information
  •  Keep up to date
  • Flash 775  Flash
  • Audio 6,481  Audio
  • Vector 2,130  Vectors
  • Image 12,338  Images
  • Creative Assets 21,724  Assets
  • Profiles 282,659  Members
  • Topics 93,762  Topics
  • Blog 4  Blog
  • Facebook 1,680  Facebook
  • Twitter 1,165  Twitter
  • Join our FREE monthly newsletter!
  • Archive
  • Invalid email address. Please try again.
Subscribe
  • ©2012 Ultrashock LLC - All rights reserved
  • Terms of Use
  • Privacy Policy
  • Switch to dark theme
  • RSS Feeds
  • Top

©2012 Ultrashock LLC - All rights reserved

Printed on Sat, February 04, 2012 - 20:11:38