Jump to content
Search Community

Border Artifact On Transform?

TheCosmonaut test
Moderator Tag

Recommended Posts

Hey there!


I've got an interesting thing going on with Transform Manager: I load an image into the transform manager, then I run a filter on it that removes white from the background. This works fine. However, if I transform the image at all, I get an extra 1px gray border around the bounds of the transformed item. The border exists in random places if the size of the scaled image is anything but its original image size.


If you want to see a test example:

1. Go to this URL: http://www.thecosmonaut.com/webtrix/rri/

2. Click the #3 example under "loadImageByURL(myValue)"

3. Click "Remove White Background"

4. Note that you will see no gray border. Now scale the image -- the gray border will appear.


Any ideas what could be causing this and/or any workarounds?





Link to comment
Share on other sites

It's hard to say for sure, but I'm 99.999% sure this has nothing to do with TransformManager - maybe the code you used to remove the white background actually left some residual pixels around the edges that are only partially transparent, so when they're rotated they look a little funky with the interpolation Flash is doing. Just a guess.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...