Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • December 03, 2016, 08:03:14 PM
  • Proudly celebrating 10 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 24630 times)

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 10,315
    • View Profile
    • Donate to Member
tool to check if TIFF files compressed ?
« on: June 22, 2009, 03: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!!
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:18 PM »
Did you check out IrfanView?  Seems to do everything else.

cranioscopical

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

tomos

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

tomos

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

skwire

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

cranioscopical

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

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,258
    • View Profile
    • Coding Snacks by Lanux128
    • Read more about this member.
    • Donate to Member
Re: tool to check if TIFF files compressed ?
« Reply #7 on: June 23, 2009, 08: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/

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,258
    • View Profile
    • Coding Snacks by Lanux128
    • Read more about this member.
    • Donate to Member
Re: tool to check if TIFF files compressed ?
« Reply #8 on: June 23, 2009, 09:06:39 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: 10,315
    • View Profile
    • Donate to Member
Re: tool to check if TIFF files compressed ?
« Reply #9 on: June 23, 2009, 10: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.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,184
    • View Profile
    • Donate to Member
Re: tool to check if TIFF files compressed ?
« Reply #10 on: June 23, 2009, 10:43:48 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: 4,664
    • View Profile
    • Donate to Member
Re: tool to check if TIFF files compressed ?
« Reply #11 on: June 23, 2009, 11:55:11 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.
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:11 AM by skwire »

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 10,315
    • View Profile
    • Donate to Member
Re: tool to check if TIFF files compressed ?
« Reply #12 on: June 23, 2009, 04:22:33 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.

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:22 PM by tomos »

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 10,315
    • View Profile
    • Donate to Member
Re: tool to check if TIFF files compressed ?
« Reply #13 on: June 23, 2009, 04:48:22 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.
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,184
    • View Profile
    • Donate to Member
Re: tool to check if TIFF files compressed ?
« Reply #14 on: June 23, 2009, 05:12:50 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: 10,315
    • View Profile
    • Donate to Member
Re: tool to check if TIFF files compressed ?
« Reply #15 on: June 23, 2009, 05: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 :)
gotchya 8) :D
Tom

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,258
    • View Profile
    • Coding Snacks by Lanux128
    • Read more about this member.
    • Donate to Member
Re: tool to check if TIFF files compressed ?
« Reply #16 on: June 23, 2009, 07: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. :)

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 4,664
    • View Profile
    • Donate to Member
Re: tool to check if TIFF files compressed ?
« Reply #17 on: June 25, 2009, 04:29:42 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,258
    • View Profile
    • Coding Snacks by Lanux128
    • Read more about this member.
    • Donate to Member
Re: tool to check if TIFF files compressed ?
« Reply #18 on: June 25, 2009, 06:16:43 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: 4,664
    • View Profile
    • Donate to Member
Re: tool to check if TIFF files compressed ?
« Reply #19 on: June 25, 2009, 12:23:35 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:06 AM by skwire »

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,258
    • View Profile
    • Coding Snacks by Lanux128
    • Read more about this member.
    • Donate to Member
Re: tool to check if TIFF files compressed ?
« Reply #20 on: June 25, 2009, 08:06:56 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:46 AM by lanux128 »

skwire

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

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,406
    • 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:35 AM »
download link for tiffInfoGUI is broken, skwire.

skwire

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

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 10,315
    • View Profile
    • Donate to Member
Re: tool to check if TIFF files compressed ?
« 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 :)
Tom