473,382 Members | 1,204 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

tiff image

i have some tiff file . i want to show them with piture box but some of them is ok but somee of them has this error : out of memory . and they are similar in properties but the images that have error have 8 bit depth . what can i do?
Nov 23 '11 #1
3 1916
GaryTexmo
1,501 Expert 1GB
How big are the images? Are they large enough that an out of memory error is actually something that's possible? What mechanism are you using to load them into the picture box?

Please supply more information and context on your problem. Code samples included. Heads up, a moderator may delete your question as it's not very well worded and if that happens, please feel free to remake it but provide more details.

Thanks!
Nov 23 '11 #2
hi , my code is:
PIcB_Document.Image = Image.FromFile(Str_Address + "File\\" + Glb_Sp_SubscriptionFileResult1.FileID + ".Tif");
FrameDimension FrameDimension1 = new FrameDimension(PIcB_Document.Image.FrameDimensions List[0]);
PIcB_Document.Image.SelectActiveFrame(FrameDimensi on1, 0);
Nov 26 '11 #3
GaryTexmo
1,501 Expert 1GB
So once again, how large are your images? (in Mb)

Also, while your image loading code looks fine, I've never used FrameDimensions. I did some quick googling and it looks like it's for animation, but tiff files don't normally have animation. What's the purpose of the frame code here?

Also, how many images are you loading? Just the one or are there many?
Nov 28 '11 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: alastair | last post by:
Hi, I need to convert a 24-bit RGB TIFF image to an 8-bit RGB TIFF image. I've tried using PIL and the convert() method - this allowed me to convert to an 8-bit grayscale image, close but not...
17
by: PyPK | last post by:
Hi I am looking for a simple tiff Image reader/writer in python.Can anyone point me to the right one.
1
by: Prasad More | last post by:
Hello, I am trying to write a text on Multi-page TIFF image using C# and .NET GDI+. I have written following code to do this. When I execute this code I get "Invalid Parameter User. at...
2
by: Al Reid | last post by:
Is it possible to display an image that is stored on the server as a TIFF image, on an ASP.Net page without the use of an add-in viewer? If so, could someone tell me how to do it? TIA -- Al...
3
by: Andres Corrada-Emmanuel | last post by:
Hello, I have installed PIL 1.1.5 on Windows with Python 2.4. I'm unable to open .tiff images that I can open and view using Windows Explorer. In other words, this simple test fails: import...
1
by: Freedolen | last post by:
Hi, Iam new to this forum. I need to find the given TIFF image is in CMYK or RGB. Though i have checked with Image::Magick, and used: my $img = new Image::Magick; $img->Read("Sample.tif");...
10
by: =?Utf-8?B?UmludSBHb3BhbGFrcmlzaG5hIFBpbGxhaQ==?= | last post by:
Hi, Please help me to write a dll in C# , that will read each pages of a tiff image from a file and a memory stream object ( need two ways) and creatre a new tiff image object.The dll should...
2
by: =?Utf-8?B?UmludSBHb3BhbGFrcmlzaG5hIFBpbGxhaQ==?= | last post by:
Hi, I have a C# Web application , in which I need to show tiff image in an image control.The image loading is from a bitmap object and not from a file. Please advise me .... Thanks and...
2
by: yogarajan | last post by:
Hi All i want to open tiff image in Internet Explorer <img src="sample.tiff"> it is not working anybody know how can i view the tiff image in IE
1
omerbutt
by: omerbutt | last post by:
hi i am looking for the conversion of the documents of type PDF and word to tiff image single / multi-page using php , i have been searching the net for a long time , there are some scripts related...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.