Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > Pro VB.NET 2002/2003
|
Pro VB.NET 2002/2003 For advanced Visual Basic coders working .NET version 2002/2003. Beginning-level questions will be redirected to other forums, including Beginning VB.NET.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 12th, 2006, 11:28 AM
Authorized User
 
Join Date: Dec 2004
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default Getting chunks from a graphic file

Hi,

is there a way (in VB.net, actually VB.net for PocketPC) to read chunks from a graphic (bitmap, jpeg) file instead of opening the whole file and assigning it to a bitmap variable ?

So far, I would do :

dim bmpTest as new bitmap("some_file")
dim rect as new rectangle(0, 0, 100, 100)

dim bmpChunk as bitmap
bmpChunk = bmpTest.Clone(rect, ...)

But this DOES get the whole bitmap into memory before chunking it.

The reason should be obvious : in Windows Mobile memory is scarce...





Similar Threads
Thread Thread Starter Forum Replies Last Post
Graphic Validation chemi J2EE 0 January 3rd, 2006 01:00 PM
Graphic disapeared vnt C# 0 May 25th, 2005 07:47 PM
Split large file to chunks eelisMX Pro VB.NET 2002/2003 4 February 8th, 2005 04:48 AM
How to interpret a graphic ? faridahhani BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 1 June 19th, 2003 04:39 AM
graphic to text faridahhani C# 0 June 19th, 2003 03:36 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.