Search the web
Sign In
New User? Sign Up
AIL_Development · AIL Developer's Forum
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Resizing canvas   Message List  
Reply | Forward Message #57 of 125 |
I'm reading a bitmap in from the clipboard, and I want to add a white
border around the edges. The only way that I can see to do it is to
create a new image in memory that is slightly larger, and loop through
each pixel in the existing image and set the pixels one by one in the
new image with an offset.

Is there an easier, built-in way to do this?

Thanks,

Nick




Sun Nov 18, 2007 8:50 am

nick_hebb
Offline Offline
Send Email Send Email

Forward
Message #57 of 125 |
Expand Messages Author Sort by Date

I'm reading a bitmap in from the clipboard, and I want to add a white border around the edges. The only way that I can see to do it is to create a new image in...
nick_hebb
Offline Send Email
Nov 20, 2007
8:41 pm

The easiest way to do it is to do like you said... create a 2nd image and read pixel by pixel from one to the other. However, that is *VERY* processor...
Kevin Wilson
kwilson1997
Offline Send Email
Nov 20, 2007
8:44 pm

Thanks Kevin. Not only did you answer my question, but you did all the heavy lifting. :-)...
Nick Hebb
nick_hebb
Offline Send Email
Dec 4, 2007
2:01 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help