Why is this TIFF scan unexpectedly large?

Ask for help and post your question on how to use XnView MP.

Moderators: helmut, XnTriq, xnview

Post Reply
IxenPDF
Posts: 61
Joined: Tue Aug 02, 2016 8:13 am

Why is this TIFF scan unexpectedly large?

Post by IxenPDF »

Hello,

When I make directly with my printer driver a tiff (300dpi, A4, s/w) it is 119 KB.
When I then use menu->file->scan, it is then 1067 KB. Why?

My setting:
tif.JPG
I can't understand this. Would apprecitae some help. Thank you.
cday
XnThusiast
Posts: 4397
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Tiff is so large

Post by cday »

Is the scanned image black and white, and so should be compressed with CCITTG4 compression, or colour, which will have no compression with the settings above? That is assuming those settings, rather than scanner settings, determine the compression used.

Are the pixel dimensions of the two images the same?

You can check the pixel dimensions and compression used for each image using the Properties icon on the viewer toolbar...
IxenPDF
Posts: 61
Joined: Tue Aug 02, 2016 8:13 am

Re: Why is this TIFF unexpectedly large?

Post by IxenPDF »

Thank you.

No, it seems that when I use menu->file->scan and save it, then it is not compressed. But why not? I guess it should, because it is s/w.
properti klein.JPG
properti klein.JPG (71.7 KiB) Viewed 902 times
property gross.JPG
property gross.JPG (78.23 KiB) Viewed 902 times
cday
XnThusiast
Posts: 4397
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Why is this TIFF unexpectedly large?

Post by cday »

So the two images are both black and white and have the same pixel dimensions, but the scanned image has no compression...

I haven't scanned from within XnView MP and can't easily try, but when I scanned from within another software some time ago I think it opened the normal scanner manufacturer's interface where the scan setting would be entered, you don't see that?
IxenPDF
Posts: 61
Joined: Tue Aug 02, 2016 8:13 am

Re: Why is this TIFF unexpectedly large?

Post by IxenPDF »

Yes, when I scan with XnView it opens the gui of my scanner driver and I can choose color/grey/s-w/pixel and so on.I choose s/w, but after saving it with XnView, it does not use the compressing mode.
IxenPDF
Posts: 61
Joined: Tue Aug 02, 2016 8:13 am

Re: Why is this TIFF unexpectedly large?

Post by IxenPDF »

So I simply do not know, what I can do, that this tiff is saved compressed.
I can open it again with XnView and save again, but it is still uncompressed.
cday
XnThusiast
Posts: 4397
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Why is this TIFF unexpectedly large?

Post by cday »

When a scan completes, is the image open in XnView MP, in which case when you save it the settings on the menu in your first post should apply, or when the scan completes is the result a file, in which case the scanner interface should have a way of selecting the file format and compression used?

IxenPDF wrote: Fri Sep 06, 2019 2:39 pm So I simply do not know, what I can do, that this tiff is saved compressed.
I can open it again with XnView and save again, but it is still uncompressed.

If an image is open in XnView MP you should be able to save it with whatever settings you select; if you have a file that seems somehow 'locked' could you upload it??
IxenPDF
Posts: 61
Joined: Tue Aug 02, 2016 8:13 am

Re: Why is this TIFF unexpectedly large?

Post by IxenPDF »

too big.tif
(1.04 MiB) Downloaded 41 times
Here is an example. (Attached)

I do not think, this behaviour is because of my old version Version of XnView ->
0.84 x32 (Jan 12 2017).
I think, this should already have been worked in this old version. (?)
cday
XnThusiast
Posts: 4397
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Why is this TIFF unexpectedly large?

Post by cday »

I've downloaded your TIFF, opened it in XnView MP 93.1, and saved it with File > Format settings... > Write tab -- TIFF set to Black and white -- CCITT G4 (as in the screenshot your first post) and the resulting TIFF file has a filesize of 15.8Kb...

So confusing, and as I say I can't easily scan from XnView MP, but also you haven't answered some of my questions in my previous post, people in general often are not very good at that! :wink:

too big_CCITTG4.tif
(15.48 KiB) Downloaded 35 times
IxenPDF
Posts: 61
Joined: Tue Aug 02, 2016 8:13 am

Re: Why is this TIFF scan unexpectedly large?

Post by IxenPDF »

I have now installed the latest version. It works now all as expected.
Post Reply