Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) 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, 05:30 AM
brathbone's Avatar
Junior Member
 
Join Date: Feb 2008
Location: Rutherfordton, North Carolina
Posts: 25
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

Author of The Dawning of Power fantasy trilogy. Get the eBook for only $7.99

Device: Treo 750, WM6, 300mhz,128MB RAM, 2GB miniSD, 240x240 display
Reply With Quote
  #2 (permalink)  
Old 03-01-2008, 05:47 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,733
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
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, 05:59 AM
brathbone's Avatar
Junior Member
 
Join Date: Feb 2008
Location: Rutherfordton, North Carolina
Posts: 25
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

Author of The Dawning of Power fantasy trilogy. Get the eBook for only $7.99

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 Off
Pingbacks are Off
Refbacks are On

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


All times are GMT. The time now is 08:54 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0