Hi All,
As I know that the tiff contain header information, I can use one software
called tifftags.exe to get tiff tag information. However, I can't get any
reference from vb.net to do such feature. Please advise..
Thanks.
Eddie 5 7315
And so you would have your code create a file object, open your tiff file
and manually evaluate each byte
At the front there should be patterns, whatever they are, FF, AA, 55, FF,
then file attributes, a checksum, other info, the tiff data and some footer
(end of file info)
Write out on paper how you want to validate a tiff file, then create
variable names to associate to your tag information use the Switch statement
to parse, and then test it.
Uh oh, this sounds interesting. If there is a built in method? Im not aware
of it
"Eddie Leung" <ed*****@image.com.hk> wrote in message
news:un****************@tk2msftngp13.phx.gbl... Hi All,
As I know that the tiff contain header information, I can use one software called tifftags.exe to get tiff tag information. However, I can't get any reference from vb.net to do such feature. Please advise..
Thanks.
Eddie
And so you would have your code create a file object, open your tiff file
and manually evaluate each byte
At the front there should be patterns, whatever they are, FF, AA, 55, FF,
then file attributes, a checksum, other info, the tiff data and some footer
(end of file info)
Write out on paper how you want to validate a tiff file, then create
variable names to associate to your tag information use the Switch statement
to parse, and then test it.
Uh oh, this sounds interesting. If there is a built in method? Im not aware
of it
"Eddie Leung" <ed*****@image.com.hk> wrote in message
news:un****************@tk2msftngp13.phx.gbl... Hi All,
As I know that the tiff contain header information, I can use one software called tifftags.exe to get tiff tag information. However, I can't get any reference from vb.net to do such feature. Please advise..
Thanks.
Eddie
Some tiff tags like height, width, colour depth and so on are decoded into
the standard image parameters. Other tags are provided as PropertyItems. The
GDI+ FAQ has a demo program that explains how to extract the property items
from an image and display their content.
--
Bob Powell [MVP]
Visual C#, System.Drawing
Find great Windows Forms articles in Windows Forms Tips and Tricks http://www.bobpowell.net/tipstricks.htm
Answer those GDI+ questions with the GDI+ FAQ http://www.bobpowell.net/faqmain.htm
All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
"Eddie Leung" <ed*****@image.com.hk> wrote in message
news:un****************@tk2msftngp13.phx.gbl... Hi All,
As I know that the tiff contain header information, I can use one software called tifftags.exe to get tiff tag information. However, I can't get any reference from vb.net to do such feature. Please advise..
Thanks.
Eddie
Some tiff tags like height, width, colour depth and so on are decoded into
the standard image parameters. Other tags are provided as PropertyItems. The
GDI+ FAQ has a demo program that explains how to extract the property items
from an image and display their content.
--
Bob Powell [MVP]
Visual C#, System.Drawing
Find great Windows Forms articles in Windows Forms Tips and Tricks http://www.bobpowell.net/tipstricks.htm
Answer those GDI+ questions with the GDI+ FAQ http://www.bobpowell.net/faqmain.htm
All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
"Eddie Leung" <ed*****@image.com.hk> wrote in message
news:un****************@tk2msftngp13.phx.gbl... Hi All,
As I know that the tiff contain header information, I can use one software called tifftags.exe to get tiff tag information. However, I can't get any reference from vb.net to do such feature. Please advise..
Thanks.
Eddie
Eddie Leung wrote: Hi All,
As I know that the tiff contain header information, I can use one software called tifftags.exe to get tiff tag information. However, I can't get any reference from vb.net to do such feature. Please advise..
Thanks.
Eddie
If all else fails, you could always write your own identifier. Specs on
the format can be found on the web, i.e.: http://www.wotsit.org/
--
Rinze van Huizen
C-Services Holland b.v. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Arenz, Ralph |
last post by:
hi all,
my problem is to get a tiff-file-attachment out of an email sent by a
fax-server.
When i try this with "get_payload(decode='True')" i get additional
informations, looks like...
|
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)?...
|
by: Eddie Leung |
last post by:
Hi All,
As I know that the tiff contain header information, I can use one software
called tifftags.exe to get tiff tag information. However, I can't get any
reference from vb.net to do such...
|
by: Shane Story |
last post by:
I can seem to get the dimensions of a frame in a multiframe tiff.
After selecting activeframe, the Width/Height is still really much larger
than the page's actual dimensions.
When I split a...
|
by: topdawg147 |
last post by:
Is there an easy way to create a tiff header? I have an old legacy
system that provides the binary image data separate from the actual
image parameters (resolution, bpp, etc.). So, i need to...
|
by: Bala |
last post by:
Hi
I try to download the tiff files from my server. Its get downloaded but I
cannot open with windows fax viewer. its says "No preview available"
thanks
bala
here is the code which I am...
|
by: Christian Mauerer |
last post by:
Hello,
I'm trying to read out the header of a Multipage-Tiff.
By I don't know how to do it.
I can read out the IFD of the Tiff but not the header.
Does anybody know how to do it?
Thanks
|
by: Ben |
last post by:
Hi
We are looking for a component that offers that offers the below for Tiff
files:
Image clean-up (deskew, despeckle)
Printing capabilities from VB
The ability to add text to image, e.g....
|
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...
|
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...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
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
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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...
| |