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.

How to convert image to an array of bytes

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-04-2008, 08:34 AM
Knows the basics
 
Join Date: Sep 2007
Posts: 87
Question How to convert image to an array of bytes

Hello all,

Any ideas on how to convert and .image to an array of bytes. I think I could use .embedfile and then read the bytes out of that file. I could also use dzimage library or imagelibex to save to file.

It would be nice to avoid having to write to a file first.

Thanks
Reply With Quote
  #2 (permalink)  
Old 02-04-2008, 08:46 AM
dzt's Avatar
dzt dzt is offline
Basic4ppc Veteran
 
Join Date: May 2007
Location: Ioannina, Greece
Posts: 356
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

dzImage has an ImageToByteArray method
__________________
Dimitris Zacharakis
http://www.terracom.gr
Reply With Quote
  #3 (permalink)  
Old 02-08-2008, 07:43 PM
Knows the basics
 
Join Date: Sep 2007
Posts: 87
Default

That will work. Thanks for the work on that library!

Thanks dzt.
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
Calculate bits and bytes schimanski Questions (Windows Mobile) 2 08-30-2008 02:13 PM
How to declare array of structures of bytes HARRY Questions (Windows Mobile) 3 02-13-2008 04:28 PM
Array of Array possibility? Stellaferox Basic4ppc Wishlist 0 09-18-2007 12:16 PM
A few nibles, bits and bytes of silence... Cableguy Chit Chat 3 09-13-2007 04:40 PM
Convert VB lib to B4P lib ? conf Questions (Windows Mobile) 1 05-27-2007 11:43 AM


All times are GMT. The time now is 06:49 AM.


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