Skip to content

Read a image and write on disk,image size changed? #1335

Answered by frankfliu
jsxzliyou asked this question in Q&A
Discussion options

You must be logged in to vote

@jsxzliyou
This is expected, a couple reason can cause this happend:

  1. The original file contains metadata (e.g. IDV3Tags)
  2. The original file has a different color scheme than saved file (BufferredImageFactory save jpg file as TYPE_INT_ARGB format)
  3. jpeg uses a lossy compression algorithm, every saving may cause the image content change.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jsxzliyou
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants