![]() |
|
|||||||
| 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 |
|
|||
|
Dimitris
the command "DrawImage(targetImage, sourceImage, x, y, width, height) " refuse to work for me. You say that it returns the image but the target is also defined as an argument. I'll appreciate an example. I tried to use it as a way to go around the fact that copying an image to a form resize it so that it fit within the form, while I need it to keep its size. Thanks David
__________________
David Erez Ramat Hasharon, Israel |
|
||||
|
Hello Dimitris,
I tried also the DrawImage function and didn't get a result. I agree with derez that an example would be of interest. For the moment I use CopyImage Sub HScroll_ValueChanged ErrorLabel(DoneH) MapX=HScroll.Value bmpMap.Value=MapImage.CopyImage(ImageList1.Item(Ma p_I),MapX,MapY,GW,GH) ' bmpMap.Value=MapImage.DrawImage(frmMain.Image,Imag eList1.Item(Map_I),MapX,MapY,GW,GH) frmMain.DrawImage(bmpMap.Value,GX0,GY0) DoneH: End Sub CopyImage is OK DrawImage not The ErrorLabel(DoneH) is to avoid an Out of memory error. I use it in a small program to display parts of a bigger bitmap (in my case maps) onto a defined area on the screen. Best regards Klaus Switzerland |
|
||||
|
Help file for dzImage library attached.
Klaus, derez - see the definition of DrawImage in the help. The folowing works for me. Code:
ImageClass.New1 bmp1.new1(AppPath & "\one.jpg") bmp2.new1(AppPath & "\two.jpg") bmp1.Value=ImageClass.DrawImage(bmp1.value,bmp2.value,40,40,20,20) form1.DrawImage(bmp1.Value,0,0) Last edited by agraham : 01-17-2008 at 10:48 AM. |
|
|||
|
I may have missed it, but is there an way to use this (or another library if someone else knows of one) for simple picture processing (brightness, contrast, Gamma being the obvious examples).
I only want it for eye candy, so I'm trying not to write the function myself, working one pixel at a time. |
![]() |
| 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 |
| Door library (Beta) - Special library | Erel | Official Updates | 48 | 07-18-2008 02:33 PM |
| Merging Outlook library and Phone library | Erel | Official Updates | 2 | 07-14-2008 03:38 PM |