Home
Forums
New posts
Search forums
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
C# Community
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Home
Forums
VB.NET
Graphics/GDI+
Load large image into a Bitmap object
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Stonkie" data-source="post: 80766" data-attributes="member: 14402"><p>I would think that it is possible to read only part of a bmp file and interpret the bits as an horizontal portion of the image. But most likely, if you cannot hold the file in memory, you probably cannot convert it to bmp whatever the program you use...</p><p></p><p>In bitmap format, I think an image 22,550 x 16,700 pixels with 32 bits per pixel should take about 1.5 GB plus some insignificant overhead. Maybe the cheapest way is to buy some RAM? Then I think there is an option in the machine.config file that allows you to tell what percentage of the RAM the .NET framework is allowed to use. I do not know if this applies to ASP.NET only or the whole framework...</p><p></p><p>Here is a link, use at your own risks... <a href="http://channel9.msdn.com/wiki/default.aspx/GuidanceLibrary.ConfigureMemoryLimit">http://channel9.msdn.com/wiki/default.aspx/GuidanceLibrary.ConfigureMemoryLimit</a></p><p></p><p>This is all just a list of thinkgs to try, but I admit I never had to try any of those...</p></blockquote><p></p>
[QUOTE="Stonkie, post: 80766, member: 14402"] I would think that it is possible to read only part of a bmp file and interpret the bits as an horizontal portion of the image. But most likely, if you cannot hold the file in memory, you probably cannot convert it to bmp whatever the program you use... In bitmap format, I think an image 22,550 x 16,700 pixels with 32 bits per pixel should take about 1.5 GB plus some insignificant overhead. Maybe the cheapest way is to buy some RAM? Then I think there is an option in the machine.config file that allows you to tell what percentage of the RAM the .NET framework is allowed to use. I do not know if this applies to ASP.NET only or the whole framework... Here is a link, use at your own risks... [url]http://channel9.msdn.com/wiki/default.aspx/GuidanceLibrary.ConfigureMemoryLimit[/url] This is all just a list of thinkgs to try, but I admit I never had to try any of those... [/QUOTE]
Insert quotes…
Verification
Post reply
Home
Forums
VB.NET
Graphics/GDI+
Load large image into a Bitmap object
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top
Bottom