Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 342849
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T10:50:34+00:00 2026-05-12T10:50:34+00:00

In a .NET CF application I wrote, one of the features is to acquire

  • 0

In a .NET CF application I wrote, one of the features is to acquire frames from remote cameras. Frames are acquired as single jpeg images and displayed on the screen when available.

It was a good enough solution, but I don’t like the fact that the time needed to convert the stream into an Image object, with the Bitmap() constructor, is far far far larger than the time needed to download the stream.

When I surfed some blogs to search about this issue, I found that some developers were using the Image.FromStream() method which has a validateImageData flag that seems to control some validation code. When validateImageData is false, the conversion gets dramatically faster.

Good, I thought …. but the Compact Framework does not implement this method !

Anyone knows how to get around it, or at least how to convert a stream into an Image without unnecessary delays ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T10:50:35+00:00Added an answer on May 12, 2026 at 10:50 am

    Not sure if this will help but OpenNETCF.Drawing.Imaging has classes to read images from streams, but they are IImage wrapped com objects. You can then use IImage.Draw to draw it onto your bitmap. It also has a GetThumbnail method that I use to get a scaled image of large jpegs on the device.

    Here is a blog post about it from Alex Feinman.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I wrote a web application using ASP .Net MVC. One of the application's function
I'm attaching a new database programatically using VB.net application. I wrote DB scripts and
I'm using JScript.NET to write scripts in a C# WinForms application I wrote. It
I wrote an application using ASP.NET MVC, in this application I have an Index
I have a asp.net application which is working from last 2-3 years, it has
Having a weird problem. I'm testing an ASP.NET application I wrote that queries SQL
I wrote an ASP.NET web application with an installer. For the installer, I'm using
I wrote a custom validation handler for this ASP.NET MVC application. Here is a
I wrote a bunch of regular expressions for a C# (3.5) ASP.NET web application.
I'm currently working on an Intranet application project, using ASP.NET MVC 3. One of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.