473,327 Members | 1,936 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,327 software developers and data experts.

TIFF and JPEG

Hi.

Why can't I read TIFFs compressed by JPEG using GDI+ Image class? I always
get out of memory exception.

Thanx.
Nov 16 '05 #1
3 3367
Hi,

I don't know about JPEG compression in TIFF standard.
TIFF supports only LZW algorithm.

It looks like "your compressed TIFF" image is out of GDI+
possibilities.

Cheers!

Marcin
Hi.

Why can't I read TIFFs compressed by JPEG using GDI+ Image class? I always
get out of memory exception.

Thanx.

Nov 16 '05 #2
Hi, Marcin!

JPEG compression is described in TIFF 6.0 specification. By the way GDI+
reads some of tiffs compressed by JPEG, i suppose it depends on color depth
or something else.

MG> I don't know about JPEG compression in TIFF standard.
MG> TIFF supports only LZW algorithm.

MG> It looks like "your compressed TIFF" image is out of GDI+
MG> possibilities.

MG> Cheers!

MG> Marcin

??>> Hi.
??>>
??>> Why can't I read TIFFs compressed by JPEG using GDI+ Image class? I
??>> always get out of memory exception.
??>>
??>> Thanx.
??>>

Me.
Nov 16 '05 #3
Hi again,

I'm affraid that my knowledge about TIFF standard is
"little" out of date ;)

Only that i can say that JPEG compression works with
24bpp or 8bpp (in grayscale) - usually ;)

Cheers!

Marcin
Hi, Marcin!

JPEG compression is described in TIFF 6.0 specification. By the way GDI+
reads some of tiffs compressed by JPEG, i suppose it depends on color depth
or something else.

MG> I don't know about JPEG compression in TIFF standard.
MG> TIFF supports only LZW algorithm.

MG> It looks like "your compressed TIFF" image is out of GDI+
MG> possibilities.

MG> Cheers!

MG> Marcin

??>> Hi.
??>>
??>> Why can't I read TIFFs compressed by JPEG using GDI+ Image class? I
??>> always get out of memory exception.
??>>
??>> Thanx.
??>>

Me.

Nov 16 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Nicolas Guilhot | last post by:
Hi all ! I have a multi-page Tiff image file that I want to convert to PDF. To do so I am using iText library. The conversion is working, but the code execution is very different according to...
7
by: Albert Greinöcker | last post by:
hi ng, I have a question concerning image processing in .NET: How can I open a jpeg with a tiff-header in c# (which means the file has the extension .tif, but contains jpeg-compressed data)?...
6
by: usao | last post by:
Does anyone know where I can find C subroutines to read JPEG and/or TIFF files into 2-dimensional C arrays?
2
by: ZUP_DUDE | last post by:
Hi All, I'm using the System.Drawing.Image name space to convert images from one type to another. In this case I am trying to convert a Tiff to a JPEG. The code is as simple as the next two...
4
by: Pushp | last post by:
Hello friends, Can any body tell me the sample code to convert a Tiff image to a Gif or Jpeg format. The Resolution of picture is a big concern keeping in mind. Hope to get the response...
3
by: T. Davis | last post by:
In C#, I am able to successfully stream a TIFF image that comes from a BLOB field in a database, save it to file, then convert the pages within TIFF file into jpegs (using GDI+) and display on the...
10
by: rtilley | last post by:
Hope it's not inappropriate to post this here. Could someone critique my code? I have no Python programmers in my office to show this to. The script works OK, but should I do it differently? I...
2
by: mndprasad | last post by:
hi all i am doing a project in java where i need to convert 10 jpeg images into a single tiff image..conversion of single jpeg image to single tiff is happening but embedding all the 10 jpeg images...
3
by: GiJeet | last post by:
Hello, we have an app that scans documents into TIFF format and we need to transfer them over the internet. If anyone knows of a SDK we can use that can compress TIFFs on the fly or even if it can...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
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...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.