'JPEG'에 해당되는 글 3건

  1. 2010.05.15 윈도우 내장 그림판 jpeg 품질은 80?
  2. 2009.06.04 EXIF 관련 링크 모음
  3. 2009.05.15 libjpeg 사용시 color depth 4
Microsoft/Windows2010. 5. 15. 10:29

위는 GIMP 기본값인 96%로 저장
아래는 mspaint 기본값인 80% 으로 저장(으로 추측)


선명해 보여서 좋잖아~ 라고 할지도 모르지만
너무 날카로워져서 조금 안쓰럽다.

위의 사진중 왼쪽은 GIMP에서 96%로 저장
오른쪽은 mspaint에서 저장한 크기이다.
GIMP에서 JPEG 출력품질을 조절하는 화면인데
80으로 맞추니 용량이 거의 맞아들어간다.


결론 : MS 그림판에서는 jpeg 품질이 80%로 고정되어 있다.

+
2018.01.29

레지스트리로 jpeg 품질 조절하는 방법


Posted by 구차니
프로그램 사용2009. 6. 4. 19:24
JPEG 하면 EXIF가 먼저 떠오르는건 디카의 위력일려나..

[jhead : http://www.sentex.net/~mwandel/jhead/]
[libexif : http://sourceforge.net/projects/libexif]
[libjpeg exif patch : http://sylvana.net/jpegcrop/exifpatch.html]
Posted by 구차니
프로그램 사용/libjpeg2009. 5. 15. 20:40
Subject: [21] What if I need more than 8-bit precision?

Baseline JPEG stores images with 8 bits per color sample, in other words

24 bits per pixel for RGB images
,
8 bits/pixel for grayscale,
32 bits/pixel for CMYK, etc.

There is an extension that stores 12 bits/sample for applications that need higher accuracy.
Medical images, for example, are often 12-bit grayscale.  The 12-bit extension is not very widely supported,
however.  One package that does support it is the free IJG source code (see part 2, item 15).

For lossless JPEG, the standard permits any data precision between 2 and 16 bits per sample,
but high-precision lossless JPEG is even less widely supported than high-precision lossy JPEG.
The Stanford PVRG codec (see part 2, item 15) reportedly supports up to 16 bits/sample for lossless JPEG.

[링크 : http://www.faqs.org/faqs/jpeg-faq/part1/]




struct jpeg_decompress_struct {
  JDIMENSION image_width;    /* nominal image width (from SOF marker) */
  JDIMENSION image_height;    /* nominal image height */
  int num_components;        /* # of color components in JPEG image */
  J_COLOR_SPACE out_color_space; /* colorspace for output */
  UINT16 X_density;        /* Horizontal pixel density */
  UINT16 Y_density;        /* Vertical pixel density */
};

typedef enum {
    JCS_UNKNOWN,        /* error/unspecified */
    JCS_GRAYSCALE,        /* monochrome */
    JCS_RGB,        /* red/green/blue */
    JCS_YCbCr,        /* Y/Cb/Cr (also known as YUV) */
    JCS_CMYK,        /* C/M/Y/K */
    JCS_YCCK        /* Y/Cb/Cr/K */
} J_COLOR_SPACE;

순서는 조금 뒤바뀌지만, 윈도우에서 출력되는 데이터는 위의 6개로 거의 표기가 가능하다.
Posted by 구차니