Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


JPEG to byte array without writing to file


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-01-2008, 06:30 AM
brathbone's Avatar
Junior Member
 
Join Date: Feb 2008
Location: Rutherfordton, North Carolina
Posts: 19
Send a message via MSN to brathbone
Default JPEG to byte array without writing to file

Greetings all,

I am using the wonderful dzImage library to create images, but I need the ability to convert an image to JPEG and access the bytes without writing the JPEG to a file.

Does anyone know of a way I can accomplish this?

Thanks,
__________________
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
Reply With Quote
  #2 (permalink)  
Old 03-01-2008, 06:47 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,199
Default

dzImage includes ImageToByteArray.
Go over the complete thread as this method was not available in the first version.
Reply With Quote
  #3 (permalink)  
Old 03-01-2008, 06:59 AM
brathbone's Avatar
Junior Member
 
Join Date: Feb 2008
Location: Rutherfordton, North Carolina
Posts: 19
Send a message via MSN to brathbone
Default

Hi Erel,

Thanks for the response. It looks like ImageToByteArray returns the Bitmap image data. I will be sending the data over the air, so I was hoping to take advantage of JPEG compression for bandwidth savings.

Thanks so much for the help.

Brian
__________________
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
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Receiving byte with value of 0x1A Zenerdiode Questions & Help Needed 10 11-23-2008 10:29 PM
put byte value into a string cotralis Questions & Help Needed 5 09-13-2008 04:30 AM
db2000 - JPEG Exif maXim Italian Forum 5 03-07-2008 07:03 PM
Is it possible to open a JPEG and resize? tigme Questions & Help Needed 5 02-19-2008 09:19 PM
writing appointment paul j Questions & Help Needed 9 09-29-2007 05:07 PM


All times are GMT. The time now is 01:34 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0