User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Visual Basic 4 / 5 / 6 section within the Software Development category of DaniWeb, a massive community of 423,545 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,012 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums

How to load a JPEG image file, store it in array and then save it

Join Date: Dec 2004
Location: Lincoln Park, Michigan
Posts: 1,744
Reputation: Comatose is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 108
Colleague
Comatose's Avatar
Comatose Comatose is offline Offline
Moderator

Re: How to load a JPEG image file, store it in array and then save it

  #7  
Aug 13th, 2006
it seems you are right about the savepicture method. Here is some code I found (however, it requires an external .dll) http://www.planet-source-code.com/vb...21298&lngWId=1, that will allow you to convert a .bmp to a .jpg format, but doing this manually is going to be rough. You'll have to open the file for binary access, and then write the appropriate bytes of information to the file. If I can find a better jpeg file format resource, I could cruft up some code on this...
Last edited by Comatose : Aug 13th, 2006 at 2:04 am.
Reply With Quote  
All times are GMT -4. The time now is 5:53 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC