Why image filesize changes after writing to Blob?
Posted: 2013-02-20T00:06:16-07:00
I have an image https://dl.dropbox.com/u/79309031/image.jpg
The size of file is 1650 bytes.
My code:
And the output is:
1650
1653
What happened?
Why filesize has changed after writing to blob?
IM 6.7.6.9
Ubuntu 11.04
The size of file is 1650 bytes.
My code:
Code: Select all
Image newimage( "image.jpg" );
cout << newimage.fileSize() << endl;
Blob blob1;
newimage.write(&blob1);
cout << newimage.fileSize() << endl;
1650
1653
What happened?
Why filesize has changed after writing to blob?
IM 6.7.6.9
Ubuntu 11.04