This property sets the YCrCb subsampling ratios when saving an image in JPEG format.

[Visual Basic]   imagekitcontrolname.File.JpegSubsamp [= JpegSubsampConstants ]
[Visual C++]     [ long = ]imagekitcontrolname.GetFile().GetJpegSubsamp()
                 imagekitcontrolname.GetFile().SetJpegSubsamp(long Val)
[VB.NET]   imagekitcontrolname.File.JpegSubsamp [= ImageKit10(A)Lib.JpegSubsampConstants ]
[C#.NET]   imagekitcontrolname.File.JpegSubsamp [= ImageKit10(A)Lib.JpegSubsampConstants ]

ImageKit10ALib refers to the ANSI version, ImageKit10Lib refers to the Unicode version.

Property Value

Value Explanation
0 Y:Cr:Cb 4:1:1
1 Y:Cr:Cb 4:2:2
2 Y:Cr:Cb 4:4:4

The following constants can also be used (ik411 = 0, ik422 = 1, ik444 = 2)

Explanation

The JpegSubsamp property sets the YCrCb subsampling ratios when saving an image in JPEG format. Since the Y (luminance or brightness) plane contains more important information about the image than does the CrCb (chrominance or color) planes, it is possible to reduce the size of the CrCb planes without a great sacrifice in quality thereby reducing the size of the image. A ratio for Y:Cr:Cb of 4:4:4 represents no reduction in size whereas a ratio of 4:1:1 represents a reduction in size of 50%.

This property is enabled when the image is 24 bit color and the image is saved as a JPEG image.

Setting this value

  This value can be set at run-time.

Retrieving this value

  This value can be retrieved at run-time.

 

The ImageKit10 ActiveX is a product created by Newtone Corporation