Exemple #1
0
 internal SpiffHeaderNative(SpiffHeader spiffHeader)
 {
     ProfileId            = spiffHeader.ProfileId;
     ComponentCount       = spiffHeader.ComponentCount;
     Height               = (uint)spiffHeader.Height;
     Width                = (uint)spiffHeader.Width;
     ColorSpace           = spiffHeader.ColorSpace;
     BitsPerSample        = spiffHeader.BitsPerSample;
     CompressionType      = spiffHeader.CompressionType;
     ResolutionUnit       = spiffHeader.ResolutionUnit;
     VerticalResolution   = (uint)spiffHeader.VerticalResolution;
     HorizontalResolution = (uint)spiffHeader.HorizontalResolution;
 }
 internal static extern JpegLSError CharLSWriteStandardSpiffHeader(SafeHandleJpegLSEncoder encoder,
                                                                   SpiffColorSpace colorSpace, SpiffResolutionUnit resolutionUnit, uint verticalResolution, uint horizontalResolution);