Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Not a bug, JPEG is lossy and its not unusual for the file size to change when its recompressed. You can adjust the compression quality to reduce the output image size.
Yes, but where is recompression in my code?
I was sure, that Image::write function doesn't change the object, it just writes data somewhere with optional parameters.
Could you please clarify?