Welcome Guest.   Make a donation to an author on the site July 29, 2010, 03:38:43 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Read the full one-year retrospective report on DonationCoder.com.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1] 2   Go Down
  Print  
Author Topic: tool to check if TIFF files compressed ?  (Read 4317 times)
tomos
Charter Member
***
Posts: 3,745



see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« on: June 22, 2009, 02:36:14 PM »

Didnt know where to post this ...

I'm looking for a tool that will tell me if a TIFF file has been compressed (or better still one that will check 100 tiff files in a folder and tell me ..)
AFAIK with TIFF files it's B/W - they're either compressed or not

The reason I'm checking is they supposed to be not compressed if they going to press/publication. The only way I know how to do it is
       a) save a couple & estimate the rest (and get shot if there's a problem later)
       b) resave them all - this is so mindless that you start making mistakes anyways . .

If there's nothing out there and people think it's even possible, I'll post it in coding snacks, thanks!!
Logged

Free  FreeHand.org
Veign
Charter Honorary Member
***
Posts: 933



plarker chris see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #1 on: June 22, 2009, 03:38:18 PM »

Did you check out IrfanView?  Seems to do everything else.
Logged

cranioscopical
Friend of the Site
Supporting Member
**
Posts: 2,412



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #2 on: June 22, 2009, 06:06:20 PM »

@Tomos: No TC plug-in to do this?
Logged

Chris
tomos
Charter Member
***
Posts: 3,745



see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #3 on: June 23, 2009, 02:09:02 AM »

Did you check out IrfanView?  Seems to do everything else.

I checked the plugins page and there's nothing there,
but maybe the programme itself can do it, will check
Logged

Free  FreeHand.org
tomos
Charter Member
***
Posts: 3,745



see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #4 on: June 23, 2009, 02:09:58 AM »

@Tomos: No TC plug-in to do this?

you're asking someone who just won a license but hasnt even had time to install it yet
-
anyone else know if there's a TC plugin to show if TIFF files compressed or not?
Logged

Free  FreeHand.org
skwire
Charter Member
***
Posts: 1,399



More Coding Snacks?! Nom nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #5 on: June 23, 2009, 02:22:16 AM »

Can you post a few examples of both types of TIFF file?  Maybe there is something in the header that can be read to determine if it's compressed or not.
Logged

cranioscopical
Friend of the Site
Supporting Member
**
Posts: 2,412



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #6 on: June 23, 2009, 07:13:52 AM »

you're asking someone who just won a license but hasnt even had time to install it yet
I have one word for you... clairvoyance.  Other than that, Irfanview's image properties can tell you compression state.
Logged

Chris
lanux128
Global Moderator
*****
Posts: 5,092



plarker lanux128 see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #7 on: June 23, 2009, 07:58:30 AM »

@tomos: maybe you can try this LibTIFF tool - tiffinfo.

Quote
tiffinfo
Display information about one or more TIFF files.

http://www.remotesensing.org/libtiff/
Logged

lanux128
Global Moderator
*****
Posts: 5,092



plarker lanux128 see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #8 on: June 23, 2009, 08:06:39 AM »

this site also has some info about the compression tags for TIFF.

http://www.awaresystems.b...tifftags/compression.html
Logged

tomos
Charter Member
***
Posts: 3,745



see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #9 on: June 23, 2009, 09:35:19 AM »

thanks all,
I'm only going to get a chance to look at IrfanView this evening - Library stuff looks technical but I've donwloaded and will look at it and see if I can figure it out

this site also has some info about the compression tags for TIFF.

http://www.awaresystems.b...tifftags/compression.html
Forgot to say compression is LZW.
I can post a couple of samples later as well
Logged

Free  FreeHand.org
fenixproductions
Honorary Member
**
Posts: 790



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #10 on: June 23, 2009, 09:43:48 AM »

2tomos
Maybe this will help you:
http://www.totalcmd.net/p...gring/wdx_image_info.html
http://www.totalcmd.net/plugring/wdx4i.html

I am not sure how reliable these plugins are with TIFF compression because all TIFFs I've got are with LZW. You should try by yourself.
Logged

Надо было учиться, а не камни в школу бросать...
skwire
Charter Member
***
Posts: 1,399



More Coding Snacks?! Nom nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #11 on: June 23, 2009, 10:55:11 AM »

http://www.totalcmd.net/p...gring/wdx_image_info.html
http://www.totalcmd.net/plugring/wdx4i.html
I am not sure how reliable these plugins are with TIFF compression because all TIFFs I've got are with LZW. You should try by yourself.
The first plugin recognises the LZW, jpeg, Packbits and zip/deflate formats.  The second one recognises the LZW, jpeg, and Packbits formats.

@tomos: maybe you can try this LibTIFF tool - tiffinfo.
tiffinfo works as well and recognises the four formats listed above.
« Last Edit: June 23, 2009, 10:57:11 AM by skwire » Logged

tomos
Charter Member
***
Posts: 3,745



see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #12 on: June 23, 2009, 03:22:33 PM »

2tomos
Maybe this will help you:
http://www.totalcmd.net/p...gring/wdx_image_info.html
http://www.totalcmd.net/plugring/wdx4i.html

I am not sure how reliable these plugins are with TIFF compression because all TIFFs I've got are with LZW. You should try by yourself.

I've installed the TC beta and I've figured out how to add the plugin but cannot figure out changing which columns show or how to use the plugins. (Can only find custom columns in Config where there is no list of columns - maybe there's something missing in the beta?)
I swear I've searched all over the place (wiki forum FAQs, oddly-I cant find 'help') and, I mean, I reckon it's got to be very simple to change which columns are showing but I'm damned if I can figure it out
(you know what it's like when you get a new app and havent a clue - remember?!? :p)

maybe I should be posting this in TC forum - I've registered there but it's too late here to make a diplomatic start in a new forum smiley - thanks for any tips!

EDIT/ I've figured it out, back later!
« Last Edit: June 23, 2009, 03:40:22 PM by tomos » Logged

Free  FreeHand.org
tomos
Charter Member
***
Posts: 3,745



see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #13 on: June 23, 2009, 03:48:22 PM »

http://www.totalcmd.net/p...gring/wdx_image_info.html
http://www.totalcmd.net/plugring/wdx4i.html
I am not sure how reliable these plugins are with TIFF compression because all TIFFs I've got are with LZW. You should try by yourself.
The first plugin recognises the LZW, jpeg, Packbits and zip/deflate formats.  The second one recognises the LZW, jpeg, and Packbits formats.

I'm not sure which plugin I got the custom column from - it's called 'compr' - but it's working  (LZW) and seems dependable so thanks for the help people Thmbsup
Make me an official TC fan please  Wink
Logged

Free  FreeHand.org
fenixproductions
Honorary Member
**
Posts: 790



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #14 on: June 23, 2009, 04:12:50 PM »

Make me an official TC fan please  Wink

1. Go to Configuration -> Misc
2. assign for Ctrl+E command cm_SrcCustomViewMenu
3. click on green icon button and OK
4. now I can call you TC fan smiley
Logged

Надо было учиться, а не камни в школу бросать...
tomos
Charter Member
***
Posts: 3,745



see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #15 on: June 23, 2009, 04:21:13 PM »

1. Go to Configuration -> Misc
2. assign for Ctrl+E command cm_SrcCustomViewMenu
3. click on green icon button and OK
4. now I can call you TC fan smiley
gotchya Cool cheesy
Logged

Free  FreeHand.org
lanux128
Global Moderator
*****
Posts: 5,092



plarker lanux128 see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #16 on: June 23, 2009, 06:52:55 PM »

@tomos: maybe you can try this LibTIFF tool - tiffinfo.
tiffinfo works as well and recognises the four formats listed above.

maybe an AHK front-end for tiffinfo would come in handy for non-TC users. smiley
Logged

skwire
Charter Member
***
Posts: 1,399



More Coding Snacks?! Nom nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #17 on: June 25, 2009, 03:29:42 AM »

maybe an AHK front-end for tiffinfo would come in handy for non-TC users. smiley
I could easily code this up...however, is there enough interest?  Speak now!
Logged

lanux128
Global Moderator
*****
Posts: 5,092



plarker lanux128 see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #18 on: June 25, 2009, 05:16:43 AM »

i wouldn't mind having a GUI for the tiffinfo program. who knows, it might come in handy one day.
Logged

skwire
Charter Member
***
Posts: 1,399



More Coding Snacks?! Nom nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #19 on: June 25, 2009, 11:23:35 AM »

i wouldn't mind having a GUI for the tiffinfo program. who knows, it might come in handy one day.

Here you go:  tiffInfoGUI download

« Last Edit: August 07, 2009, 08:33:06 AM by skwire » Logged

lanux128
Global Moderator
*****
Posts: 5,092



plarker lanux128 see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #20 on: June 25, 2009, 07:06:56 PM »

btw, this error appears when opening tiff files. just fyi.



Edit: the above error has been fixed, thanks Skwire. Kiss
« Last Edit: June 26, 2009, 12:04:46 AM by lanux128 » Logged

skwire
Charter Member
***
Posts: 1,399



More Coding Snacks?! Nom nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #21 on: June 26, 2009, 12:17:10 AM »

Fixed.  Added:

  • Size column.
  • Total files in statusbar.
  • Double-click launches the tiff file in your default viewer.

tiffInfoGUI download

Thanks, lanux, for the feedback and suggestions.
« Last Edit: August 07, 2009, 08:32:38 AM by skwire » Logged

mouser
First Author
Administrator
*****
Posts: 24,001



plarker mouser see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #22 on: August 07, 2009, 02:33:35 AM »

download link for tiffInfoGUI is broken, skwire.
Logged
skwire
Charter Member
***
Posts: 1,399



More Coding Snacks?! Nom nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #23 on: August 07, 2009, 08:33:52 AM »

Fixed.   cheesy
Logged

tomos
Charter Member
***
Posts: 3,745



see users location on a map View Profile Read user's biography. Give some DonationCredits to this forum member
« Reply #24 on: November 23, 2009, 04:49:04 AM »

i wouldn't mind having a GUI for the tiffinfo program. who knows, it might come in handy one day.

Here you go:  tiffInfoGUI download
 (see attachment in previous post)

that's neat
works well - thanks Skwire Thmbsup I just used it to double check (used the TC plugin too) all agreed so I happy smiley
Logged

Free  FreeHand.org
Pages: [1] 2   Go Up
  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
SMF © 2006-2009, Simple Machines LLC

social bookmark this page