![]() |
|
|||||||
| 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 |
|
||||
|
Haisai Dimitris,
Long time no chat. Hope everything's going well for you. Sneaky question, can your image library be modified to add transitions, such as fade-in/out for slide shows? Don't tell me you can do it. ![]() Cheers Robert |
|
||||
|
Hi dzt,
Any chance you'd be willing to add a JPEGtoByteArray (or similar) function? I am using dzImage to take screenshots and I need to send them over the network. So, essentially I am looking for a way to get JPEG data for a screenshot without writing to a file. Thanks much for your work on this library. ![]() All the best,
__________________
Brian Rathbone Laptop: AMD Turion 64 Mobile 2ghz, 2GB RAM, Dual GeForce Go 7900 GTX 768MB SLI, Dual 200GB HDD at RAID0. XP Pro sp2 Device: Treo 750, WM6, 300mhz,128MB RAM, 2GB miniSD, 240x240 display |
|
||||
|
Hi brathbone,
Have a look at this: Embed and retrieve images in a data file I think this is what you are looking for. Best regards Klaus Switzerland |
|
||||
|
Hi Klaus,
Thanks for the response. I took a look at that thread but did not find a solution to my problem. I may have overlooked it. Perhaps my questions is better explained with code. My goal is to take a screenshot, convert the BMP screenshot data to JPEG, then send the JPEG data across a TCP socket connection. I would like to avoid saving the image to a file in order to do the JPEG conversion. This is how my code looks for sending BMP data: 'BMPU is part of my custom protocol header() = bit.StringToBytes("BMPU ",0,5) 'CRLF used to terminate commands and transfers terminator() = bit.StringToBytes("</terminator>" & Chr(13) & Chr(10),0,15) 'Capture Screen Image dzImageclass.ScreenCapture 'Send protocol command stream.Writebytes (header()) 'Send Image Data stream.WriteBytes (imageclass.ImageToByteAray(imageclass.Image)) 'Send Terminator stream.WriteBytes(terminator()) What I would like to be able to do is something like this: 'Send Image Data stream.WriteBytes (dzImageclass.ImageToJPEGByteAray(dzImageclass.Ima ge)) I appreciate any help you can offer. Thanks again for your time,
__________________
Brian Rathbone Laptop: AMD Turion 64 Mobile 2ghz, 2GB RAM, Dual GeForce Go 7900 GTX 768MB SLI, Dual 200GB HDD at RAID0. XP Pro sp2 Device: Treo 750, WM6, 300mhz,128MB RAM, 2GB miniSD, 240x240 display |
|
||||
|
Try this Brian. The only way (native to .NET) to get a JPG is to save a bitmap to a file or stream, you can't get access to the encoded bytes directly. This tiny library tries to save a bitmap to a stream.
EDIT :- Note that your device may not support saving a JPG. Not all do. Last edited by agraham : 03-08-2008 at 10:27 AM. |
|
||||
|
In trying to use sahoops Screen Capture App, I have a problem on my device.
I found that there is a problem with the SaveImageXXX functions on my Qtek 9090. I get the message below. I have added a small test code. On the device, I can even not load this code in B4PPC. Does anyone know what is wrong, do I missing some part of .NET 2 ? Thank you in advance. Klaus Switzerland Last edited by klaus : 03-08-2008 at 02:28 PM. |
![]() |
| 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 |