Re: Large image
- From: "<ctacke/>" <ctacke[at]opennetcf[dot]com>
- Date: Sat, 2 Feb 2008 10:50:55 -0600
The problem there is just trying to load a 3000x3000 bitmap is very likely
to run the device out of memory long before it's fully in memory. SetPixel
will be painfully slow if attempting to copy the data. It's probably better
to just lock the destination bitmap and use copy methods to pull from a
stream and write it into the scan0 ptr at an offset.
--
Chris Tacke, eMVP
Join the Embedded Developer Community
http://community.opennetcf.com
"Hilton" <nospam@xxxxxxxxxx> wrote in message
news:l41pj.10164$hI1.6408@xxxxxxxxxxxxxxxxxxxxxxx
If I recall, you're working with BMP images. If that is the case, you can
write a relatively simply method to read and decode the BMP into a Bitmap
object. use SetPixel while testnig and LockBits to optimize.
Hilton
"Broeden" <hihansson@xxxxxxxxxxx> wrote in message
news:d445e050-11a3-4146-b328-c7e5286d81d6@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On 31 Jan, 14:58, "<ctacke/>" <ctacke[at]opennetcf[dot]com> wrote:
Nothing. The community edition is free, so just download, install, add a
reference and use. If you want Studio integration with toolbox support,
help, templates and full source code then you can buy the SDF Extensions
for
Studio for a nominal fee.
Thanks again!
I have install the SDF and tested the samples. I have found out how to
load parts of the image to get a thumbnail of the image.
But is it possible to load for instance the upper left 1000*1000
pixels of a large image?
/Broeden
.
- Follow-Ups:
- Re: Large image
- From: Hilton
- Re: Large image
- From: Broeden
- Re: Large image
- References:
- Re: Large image
- From: Broeden
- Re: Large image
- From: Hilton
- Re: Large image
- Prev by Date: Re: Large image
- Next by Date: Re: Large image
- Previous by thread: Re: Large image
- Next by thread: Re: Large image
- Index(es):
Relevant Pages
|