topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 5:15 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: tool to check if TIFF files compressed ?  (Read 54040 times)

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,959
    • View Profile
    • Donate to Member
tool to check if TIFF files compressed ?
« on: June 22, 2009, 03:36 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!!
Tom

Veign

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 993
    • View Profile
    • Veign - Where design meets development
    • Donate to Member
Re: tool to check if TIFF files compressed ?
« Reply #1 on: June 22, 2009, 04:38 PM »
Did you check out IrfanView?  Seems to do everything else.

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • View Profile
    • Donate to Member
Re: tool to check if TIFF files compressed ?
« Reply #2 on: June 22, 2009, 07:06 PM »
@Tomos: No TC plug-in to do this?

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,959
    • View Profile
    • Donate to Member
Re: tool to check if TIFF files compressed ?
« Reply #3 on: June 23, 2009, 03:09 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
Tom

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,959
    • View Profile
    • Donate to Member
Re: tool to check if TIFF files compressed ?
« Reply #4 on: June 23, 2009, 03:09 AM »
@Tomos: No TC plug-in to do this?
-cranioscopical (June 22, 2009, 07:06 PM)

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?
Tom

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: tool to check if TIFF files compressed ?
« Reply #5 on: June 23, 2009, 03:22 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.

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • View Profile
    • Donate to Member
Re: tool to check if TIFF files compressed ?
« Reply #6 on: June 23, 2009, 08:13 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.

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: tool to check if TIFF files compressed ?
« Reply #7 on: June 23, 2009, 08:58 AM »
@tomos: maybe you can try this LibTIFF tool - tiffinfo.

tiffinfo
Display information about one or more TIFF files.

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

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: tool to check if TIFF files compressed ?
« Reply #8 on: June 23, 2009, 09:06 AM »
this site also has some info about the compression tags for TIFF.

• http://www.awaresyst...ags/compression.html

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,959
    • View Profile
    • Donate to Member
Re: tool to check if TIFF files compressed ?
« Reply #9 on: June 23, 2009, 10:35 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.awaresyst...ags/compression.html
Forgot to say compression is LZW.
I can post a couple of samples later as well
Tom

fenixproductions

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: tool to check if TIFF files compressed ?
« Reply #10 on: June 23, 2009, 10:43 AM »
2tomos
Maybe this will help you:
http://www.totalcmd..../wdx_image_info.html
http://www.totalcmd..../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.

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: tool to check if TIFF files compressed ?
« Reply #11 on: June 23, 2009, 11:55 AM »
http://www.totalcmd..../wdx_image_info.html
http://www.totalcmd..../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.
-fenixproductions (June 23, 2009, 10:43 AM)
The first plugin recognises the LZW, jpeg, Packbits and zip/deflate formats.  The second one recognises the LZW, jpeg, and Packbits formats.

thumb048.png
@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, 11:57 AM by skwire »

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,959
    • View Profile
    • Donate to Member
Re: tool to check if TIFF files compressed ?
« Reply #12 on: June 23, 2009, 04:22 PM »
2tomos
Maybe this will help you:
http://www.totalcmd..../wdx_image_info.html
http://www.totalcmd..../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.
-fenixproductions (June 23, 2009, 10:43 AM)

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 :) - thanks for any tips!

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

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,959
    • View Profile
    • Donate to Member
Re: tool to check if TIFF files compressed ?
« Reply #13 on: June 23, 2009, 04:48 PM »
http://www.totalcmd..../wdx_image_info.html
http://www.totalcmd..../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.
-fenixproductions (June 23, 2009, 10:43 AM)
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  ;)
Tom

fenixproductions

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: tool to check if TIFF files compressed ?
« Reply #14 on: June 23, 2009, 05:12 PM »
Make me an official TC fan please  ;)

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 :)

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,959
    • View Profile
    • Donate to Member
Re: tool to check if TIFF files compressed ?
« Reply #15 on: June 23, 2009, 05:21 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 :)
-fenixproductions (June 23, 2009, 05:12 PM)
gotchya 8) :D
Tom

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: tool to check if TIFF files compressed ?
« Reply #16 on: June 23, 2009, 07:52 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. :)

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: tool to check if TIFF files compressed ?
« Reply #17 on: June 25, 2009, 04:29 AM »
maybe an AHK front-end for tiffinfo would come in handy for non-TC users. :)
I could easily code this up...however, is there enough interest?  Speak now!

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: tool to check if TIFF files compressed ?
« Reply #18 on: June 25, 2009, 06:16 AM »
i wouldn't mind having a GUI for the tiffinfo program. who knows, it might come in handy one day.

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: tool to check if TIFF files compressed ?
« Reply #19 on: June 25, 2009, 12:23 PM »
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

2009-07-04_084511.png
« Last Edit: August 07, 2009, 09:33 AM by skwire »

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: tool to check if TIFF files compressed ?
« Reply #20 on: June 25, 2009, 08:06 PM »
btw, this error appears when opening tiff files. just fyi.

SC_26_06_2009_001.pngtool to check if TIFF files compressed ?

Edit: the above error has been fixed, thanks Skwire. :-*
« Last Edit: June 26, 2009, 01:04 AM by lanux128 »

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: tool to check if TIFF files compressed ?
« Reply #21 on: June 26, 2009, 01:17 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, 09:32 AM by skwire »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: tool to check if TIFF files compressed ?
« Reply #22 on: August 07, 2009, 03:33 AM »
download link for tiffInfoGUI is broken, skwire.

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: tool to check if TIFF files compressed ?
« Reply #23 on: August 07, 2009, 09:33 AM »
Fixed.   :D

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,959
    • View Profile
    • Donate to Member
Re: tool to check if TIFF files compressed ?
« Reply #24 on: November 23, 2009, 04:49 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 :)
Tom