![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Additional Libraries Users contributed libraries. This sub-forum is only available to licensed users. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
Version 2.1 now posted includes support for individual pixel alpha values so you can now blend images with alpha values, such as PNGs, and get proper transparency. See the "Alpha blending overview" in the help.
__________________
Sorry, but I don't answer questions by PM or email. Please post your queries in the forum. Last edited by agraham : 02-07-2010 at 06:02 PM. |
|
|||
|
Thank you!
Where do you find the time (and the inspiration)? Any secrets you may share with us "normal human beings" to benefit from? ![]()
__________________
rgds, moster67 |
|
||||
|
Quote:
(I manage the mind bit anyway!)
__________________
Sorry, but I don't answer questions by PM or email. Please post your queries in the forum. |
|
|||
|
Andrew,
Just used this lib for the first time and I can't tell you enough how happy I am with the pieces of art that you create. A huge THANK YOU!! Regards, Helen.
__________________
HTC Touch Diamond 2 Falk F8 *** unlocked *** CE 5.0 |
|
|||
|
Thank you for the latest library which helped me to solve the png alphabend issue. Hopefully you can give me some pointer how I can do the below:
I've 2 images to be blend together. The 1st one is a normal jpg (base image), and the 2nd one is a smaller png with transparent image. I can blend them together using the AlphaPixelBlend. My question: is there a better way I can resize & crop part of the png before merging it to the jpg? My current code seems to be a bit lengthy: 1. Resize the jpg to smaller (losing info) using drawerEx.DrawImage 2. AlphaPixelBlend the 2 images 3. resize it for display Last edited by chanppc : 02-09-2010 at 01:59 AM. |
|
||||
|
The alpha bitmap has a width of mainimage.width/3 +1 and a height of mainimage.height. Using DrawImage you should be able to crop the main image starting at an x that is a multiple of three and crop the alpha bitmap to match starting at x/3 with a length of newmainwidth/3 + 1. As the vertical resolutions are the same use the same y start and height for both.
I don't think resizing will work without giving you some edge effects but you could try and see what it looks like.
__________________
Sorry, but I don't answer questions by PM or email. Please post your queries in the forum. |
|
|||
|
I thought a cirlce will be located at the very center, but result is different. it's moved to right-bottom a little bit.
What is wrong on my script? Advise me, please... 'cvs: BitmapEx, drw: DrawerEx, pen: PenEx frmMain.Show cvs.New2(frmMain.Width, frmMain.Height) xCtr = cvs.Width/2 yCtr = cvs.Height/2 pen.New1(cBlue) drw.New2(cvs.Value) drw.DrawCircle(pen.Value, xCtr, yCtr, 133) frmMain.DrawImage(cvs.Value,0,0) |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Merging Outlook library and Phone library | Erel | Official Updates | 4 | 01-01-2010 09:18 AM |
| Door library (Beta) - Special library | Erel | Official Updates | 52 | 12-08-2008 05:03 PM |
| PhoneticAlgorithms Library (ex-StringComparison Library) | moster67 | Additional Libraries | 10 | 11-11-2008 07:46 PM |
| ImageLibEx? | agraham | Basic4ppc Wishlist | 2 | 11-05-2007 01:15 PM |
| ImageLibeX Error | XerVision | Questions & Help Needed | 8 | 08-27-2007 06:14 PM |