tiff

Is it possible to add layers to .tiff images with .NET?

Are there any .NET libraries etc. which allow adding layers (with text) to .tiff images? Something like annotations, so that it would be possible to separate them from image afterwards. I tried DotImage - it allows to add annotations, save them as embedded into image and load them afterwards, but no one other image viewer seems to reco...

Viewing a TIFF stream using the .NET webbrowser control in C# doesn't show image...

I have a windows form that is using a Webbrowser control to view documents on a web server. When it tries to display a TIFF, it just displays a blank screen. It works with other file types just fine. The URL to the TIFF works fine if I paste it into Firefox. Will this flat out not work, am I doing something wrong? Should I invest in a...

Set DPI value to Tiff Image in C#

I'm trying to set dpi value of a TIFF Image in C# through code but somehow the values are not persisted after saving the Image. using (var image = new Bitmap(@"c:\newimage.tif")) { uint[] uintArray = { 300, 1}; //Setting DPI as 300 byte[] bothArray = ConvertUintArrayToByteArray(uintArray); PropertyItem item = image.PropertyI...

How do I retrieve 16 bit pixel data from a tiff in Java?

I'm writing a program that will do image processing on a 16 bit tiff image (5 bit red, 6 bit green, 5 bit blue) but unfortunately the code I've written to do so treats the image data as 8 bit. To elaborate with code, I read the image into memory with ImageIO utility class like so: BufferedImage image = ImageIO.read(imageFile); and la...

Problem in showing tiff image in browser

Sir, i am facing problem in showing tiff images. following is my html code. plz help. Thanks < img src="tiffdocument.tif" /> ...

How to save bitmap to TIFF file (win32)?

What's the easiest way to save a bitmap (I have an HBITMAP handle) to a TIFF file using unmanaged Win32? It would be trivial using GDI+, but I'm limited to GDI. Thanks in advance! ...

How to combine two or many tiff image files in to one multipage tiff image in JAVA

Hello Friends! I have 5 single page tiff images. I want to combine all these 5 tiff images in to one multipage tiff image. I am using Java Advanced Imaging API. I have read the JAI API documentation and tutorials given by SUN. I am new to JAI. I know the basic core java. I dont understand those documentation and turorial by SUN. So f...

Creating a multi-page TIFF with Python

This has already been asked here, but I was looking for a solution that would work on Linux.. Is tiffcp the only way? ...

Programatically rotate tiff image (or pdf)

Does anyone know a way of rotating an image (jpg or gif) in a TWebBrowser control (using Delphi) Update The file would be local. Update 2 So I guess the question should be how do I rotate an image or pdf. ...

Converting PDF to TIFF or text in C#

Hi, I need a library to convert PDF to text or TIFF in C# - preferably open source under a permissive licence. Currently using xpdf but as I understand the GPL I can't compile it into a DLL and link to it without releasing the rest of my code under the GPL. Does such a library exist? If not, what is the best value tool which would suit ...

how to display CCITT Group 4 tiff files in silverlight?

According to "How to Convert TIFF to JPG Inside Silverlight, client side, using a control or a class/function?"(sorry cannot post links here yet) trying to port LibTiff.NET library to Silverlight, but failed. Will be very grateful if someone explain me how to remove unsupported by silverlight without losing opportunity decompress CCITT...

TIFF image prints fuzzy (but works fine from Paint.Net)

I have created a TIFF image from several lines of text, and it's quite large at 300DPI. The image itself looks pretty good. The font is set as followings when drawing the string to the image: drawing.SmoothingMode = SmoothingMode.Default; drawing.TextRenderingHint = System.Drawing.Text.TextRenderingHint.SystemDefault; When I print t...

16 bit tiff decoder for flex

Hey guys I am trying to open a 16 bit tiff image in my AIR app. What I have found is a baseline decoder which supports only 8 bit images. Here are my options: Extend its functionality to open 16 bit images but I dont know how to do that and how trivial it is. Open my images as 8 bit but I need to do that automatically within Flex. Do...

.NET Tiff Issues C#

I'm having issues with TIFFs Here is what I have to do, we have tiff images saved into the database, these images are CCITT4 compressed with a number of required tags, these include: RowsPerStrip must be the ImageLength Photometric Interpreation must be MinIsWhite Multi-strip image format is not allowed My problem is, I'm using the ...

Best way to convert Image Type to Image Type in embedded Java?

I'd like to convert (back and forth) the following - PS to TIFF - TIFF to PDF - PDF to TIFF - GIF to TIFF - JPEG to TIFF - TIFF (LZW) to TIFF (CITT G4) Where, if not specified, TIFF is CITT G4 encoding. Within embedded code of a Java app; any recommended solutions? ...

Wrong colours when converting TIFF image to PNG in ImageMagick

Hi there, I'm working on a PHP script that automatically converts TIFF images to PNG files. For that purpose, I use ImageMagick: $ convert a.tif a.png It works to some degree, however, the colours are very acute and deviant from the way they are pictured on my PC. To illustrate the problem, please have a look at the enclosed files, ...

What is the best way to load a CCITT T.3 compressed tiff using python?

Hey guys, I am trying to load a CCITT T.3 compressed tiff into python, and get the pixel matrix from it. It should just be a logical matrix. I have tried using pylibtiff and PIL, but when I load it with them, the matrix it returns is empty. I have read in a lot of places that these two tools support loading CCITT but not accessing the...

convert bitonal TIFF to bitonal PNG in C#

I need to convert bitonal (black and white) TIFF files into another format for display by a web browser, currently we're using JPGs, but the format isn't crucial. From reading around .NET doesn't seem to easily support writing bitonal images, so we're ending up with ~1MB files instead of ~100K ones. I'm considering using ImageMagick to d...

How to display a stitch of TIFF images, allowing zooming and moving

I want to write a simple Java application to display a portion of large stitched tiles of TIFF images. I want to be able to zoom and move around. Is using JAI the best current way to go? The documentation seems awfully out-of-date. I found this sample program to display a TIFF image. But how can I zoom into a TIFF image? And is it poss...

Getting error when trying to apply "ExtraSamples" tag to a TIFF file to be written

I have a program that takes an image and writes that out to a TIFF file. The image can be grey scale (8 bit), grey scale with alpha channel (16 bit), RGB (24 bit), or ARGB (32 bit). I don't have any problems writing out the images without an alpha channel, but for the images with alpha, when I try to set the extra samples tag, I get se...