tiff

.NET test for bitonal TIFF image without trapping exception?

I am developing a document database application that handles TIFF images. When annotating images, in order for the user-interface to present only black and white as choices for bitonal (Format1bppIndexed) images versus multiple colors for images with a higher color depth I need to test for whether or not a TIFF is bitonal. Here is my f...

Display TIFF image in all web browser

How to handle [TIFF][1] file in HTML pages? I want to display a TIFF file in my HTML page. I have tried using embedded tag, object id, img, etc. But I am unable to display the image (TIFF) in the HTML page. I am not using Java, .NET or any other thing in my project. I am using HTML only. # Hi all, To the above question, yesterday ...

DIsplay TIFF or TIF image in TIFF unsupported browser( like IE, Mozilla, Firefox, etc)

Hi all, I can load TIFF image in safari browser. But What should i do to load TIFF image in the TIFF unsupported browser(IE, Mozilla, Firefox, etc) i am unable to install third party installer or controller(like ActiveXController). please give your valuable suggestion to this. ...

Library support for very high dynamic range TIFF files?

I work with satellite radar, and have been provided with a (very) large TIFF file containing 32 bpp greyscale data. Unfortunately, libtiff, the standard Linux library for working with TIFF files, doesn't support SampleFormat TIFF files, which means no support for high bit depth greyscale images or floating-point images. Does anyone know...

Infranview MultiTiff Conversion

I'm trying to convert a number of single tiffs to a multi-page tiff in Infranview by using the command line feature: i_view32.exe /multitif=(c:\test.tif,c:\test1.tif,c:\test2.tif...c:\test270.tif)\killmesoftly The actual command line is 17,000 characters. but all of the images I create stop at page 71 when they should go one. Has an...

Reading EXIF/MetaData from CRW (or other RAW files) with PHP

Hi, Pretty much as the title says, I've had a search around but been unable to find anything. I can read TIFF and JPEG files, but I've not found anything to read RAW files. Does anyone know of anything PHP or otherwise that can do this (if otherwise, then something I can use with PHP). Many thanks, Mike. ...

How do I convert a TIF to PNG in Java?

Under Java what is the best way to go about converting an TIF file to a PNG? Simplicity is preferable, but if the simplest way is to use a third party library then I would consider that solution. ...

Delphi 2010 accessing to frames inside a TIFF

Hello, I just tested I can access to TIFF images in Delphi 2010 with the classic image1.Picture.LoadFromFile(MyTiffFile); Simply using this line of code I can load the first frame of a TIFF file into a TImage component. But when a TIFF file is a multiframe one. How can I get the rest of images contained in a TIFF file? ...

C# PCL rendering into TIFF (or other image format)

I'm looking for the best solution -- and perhaps the cheapest also -- to take PCL5e and PCL6 compliant code and render it into a TIFF image. Reliably. Does anyone have any experience with the PCLTool SDK from PageTech (http://www.pagetech.com/pcl.php)? This looks to be the best I can find, but I'm not sure how flexible it really is. ...

Creating tifs directly from VB.Net.

The current applications uses .net printdocument to create print jobs which it sends to a standard printer. We use the blackice tif print driver to capture the output and manage it from there. The problem is that some print jobs take 30 seconds to come out of the queue, and blackice will not allow you to change settings on the driver (li...

Cannot open a .tif with color using .Net Image or Bitmap classes

I am attempting to open .tif files that have color in them (300 dpi, PixelFormat.Format24bppRgb) using the .Net Image and Bitmap classes. I always get an "invalid parameter" error when the tiffs have color (works fine for black and white tiffs). If anyone has source code on how to open a .tif with color in it I'd deeply appreciate it. ...

When creating an bitmap image from scratch in VB.Net, the quality stinks?

The Vb.Net application creates a bitmap from scratch and either converts to a tiff or sends it to a printer. In both cases, the quality of the image (in this case the font) is not good at all. The sample code listed below creates the graphics object that I use to write to the image. Dim gr2 As Graphics = Graphics.FromImage(New Bitmap(8...

Reading tags of *.tiff and *.eps files

i have to read tags of cmyk *.tiff and *.eps files. i use .net 3.5. How can i do it? ...

Converting 24BPP to 4BPP with GDI+ in VB.NET

My VB.NET program currently takes a 4BPP TIFF as an Bitmap, converts it to a Graphic, adds some text strings and then saves it out again as a TIFF file. The output Bitmap.Save() TIFF file by default seems to be 24BPP (regardless of the input) and is a lot larger than the original TIFF. Is it possible to keep the same 4BPP palette encodi...

Is there a programming toolkit for converting "any file type" to a TIFF image?

Hello, I've written several variations of a program. The purpose of the program is to convert "any file type" to a TIFF image represenation of that file, as if it were being printed using a printer. I'm currently using a third party printer driver that I send files to, and it outputs a TIFF image. This is nice, but it requires me to us...

How do I check for corrupt TIFF images in C#?

Hi Everyone, I searched on how to check if a TIFF file is corrupt or not. Most suggests wrapping the Image.FromFile function in a try block. If it throws an OutOfMemoryException, its corrupt. Has anyone used this? Is it effective? Any alternatives? ...

How to display image that is located on another server on the network (ASP.NET)

I've got a ASP.NET site that's located on a local server (MY_SERVER). And one of the things it does is pull up tiff files which are located on another server (ANOTHER_SERVER). The location of each of these files is stored in SQL. I pull up each of these images and am supposed to display them. The problem is: the files are not named wit...

Is their an optimal config/format for a TIFF when using Tesseract or other OCR?

I'm having a bizarre problem with Tesseract. I have a name, "Janice" that is in a 200x40 pixel tiff, that Tesseract interprets as a blank. I'm running hundreds of names through Tesseract and they are processed fine. What I'm actually doing, though, is breaking up a larger TIFF into smaller tiffs of one word each. In the larger TIFF, te...

Splitting TIFF Files on different formats using .NET

HI All, I have below code to extract a single page from a multi-paged TIFF file. The problem is, the input file is in CCITT Group 4 compression however the output compression is LZW. Can .NET outputs TIFF files other than this compression? FileStream fileStream = File.Open(outputFileName, FileMode.Create, FileAccess.ReadWrite); sou...

How to detect if a file is PDF or TIFF ?

Please bear with me as I've been thrown into the middle of this project without knowing all the background. If you've got WTF questions, trust me, I have them too. Here is the scenario: I've got a bunch of files residing on an IIS server. They have no file extension on them. Just naked files with names like "asda-2342-sd3rs-asd24-ut57" ...