Image filesize changes after writing to Blob. Bug?
Posted: 2013-02-20T23:49:31-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; // point1
Blob blob1;
newimage.write(&blob1);
cout << newimage.fileSize() << endl; // the same call as in point1!
1650
1653
What happened?
Why filesize has changed after writing to blob?
IM 6.7.6.9
Ubuntu 11.04