카테고리 없음

[image] 동일한 png를 내 보낸 후 두 개의 다른 JPEG 파일 크기 (다른 소프트웨어에서) 크기

행복을전해요 2021. 2. 20. 08:00

It's hard to guess just from the descriptions. First, PNG images are compressed. It's lossless compression and it's the same as JPEG uses in the end. Second, JPEG has two quality settings:

  • Chroma subsampling - basically how many pixels will share color information
  • Quantization - how much of the details is lost

There is nothing like a single "quality setting" in JPEG. Every software simply converts the one number to some subsampling and some quantization. Even if two graphics softwares say 100%, it can mean different thing.

You can use software like JPEGSnoop to analyze the quality. What is happening in your case is most likely the chroma subsampling difference. There will be little to none quantization in both cases, but Photoshop uses the best subsampling (none) starting with the quality setting 7. I do not know the other software, but it is likely using lower quality subsampling.

Usually the subsampling is written as 4:2:2, 4:1:1, see the explanation on Wikipedia. JPEGSnoop uses the following notation:

  • Chroma subsampling: 2x2 - this means 2x2 square shares the same color and it is the most common JPEG setting.
  • Chroma subsampling: 1x1 - basically no subsampling, Photoshop does that for high quality.

Check this in your exported images.


Is this additional data causing the size of the photoshop image exported as JPEG to have an additional size?

글쎄, 예 그리고 아니오. 텍스트 자체는 거의 효과가 없지만 포토샵은 색상 정보가 보정되지 않았다고 알려줍니다. 아마도 압축률과 최적화가 적다는 것을 의미합니다.

안드로이드 앱에서 낮은 크기의 JPEG 이미지를 사용할 위험이 있습니까? 실제로 압축되거나 제외되는 것은 무엇입니까?

아니요, Android는 대부분의 JPEG를 디코딩 할 수 있습니다. 품질이 낮을 수 있으며 완벽한 색상 보정과 고 대비로 큰 화면에서 확인할 수 있습니다.

-------------------

문제의 일부는 Photoshop에서 색상 프로필, 축소판 이미지 및 EXIF ​​데이터를 포함하여 이미지에 상당한 양의 메타 데이터를 추가 할 수 있다는 것입니다. 그러나 파일 크기 차이의 주된 이유는이 두 응용 프로그램간에 JPEG 압축이 구현되는 방식의 차이 때문일 수 있습니다.

일반적으로 이미지를 작업하는 동안 TIFF 또는 PNG와 같은 비 손실 형식으로 이미지를 저장해야합니다. JPEG로 내보낼 때 일반적으로 약 60 ~ 80 %의 압축 수준이 적절합니다. 때로는 압축하기 전에 "날카로운 가장자리"필터를 적용하는 것이 도움이됩니다.

안드로이드 앱이나 다른 곳에서 더 높은 압축 수준을 사용할 위험이 없습니다. 이미지가 괜찮아 보이면 괜찮습니다.



출처
https://stackoverflow.com/questions/22079924