Filesize Problem

I am using a .tiff image for LSB based steganography. The method works fie but the problem is that even if I embed a 2 byte message in a 43.2 KB image, when I write back the altered image matrix to a new file using imwrite(), the size of the new file gets abruptly increased to 673KB. Can you please help me out on this?

2 Commenti

Walter Roberson
Walter Roberson il 20 Giu 2012
If you write back the file without any change, what size shows up?
Jan
Jan il 20 Giu 2012
Which parameters do you use for IMWRITE?

Risposte (1)

Image Analyst
Image Analyst il 1 Lug 2012

0 voti

What application created the TIFF file? There are different "flavors" of TIFF files and MATLAB probably doesn't use all the same tags as your input image. It could very well use different tags, which would give rise to a different file size.

Questa domanda è chiusa.

Richiesto:

il 20 Giu 2012

Chiuso:

il 20 Ago 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by