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

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

답변 (1개)

Image Analyst
Image Analyst 2012년 7월 1일

0 개 추천

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.

이 질문은 마감되었습니다.

질문:

2012년 6월 20일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by