Mikewando / carefulsource

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CarefulSource

Usage

cs.ImageSource(string path[, int subsampling_pad=True, int jpeg_rgb=False, int jpeg_fancy_upsampling=True, string jpeg_cmyk_profile, string jpeg_cmyk_target_profile])
  • path: Path to image file
  • subsampling_pad: Pad the image for subsampled images with odd resolutions
  • jpeg_rgb: RGB output using internal JPEG upsampling for chroma
  • jpeg_fancy_upsampling: libjpeg fancy chroma upscaling for rgb output
  • jpeg_cmyk_profile: Path to force cmyk input profile
  • jpeg_cmyk_target_profile: Path to force cmyk output profile - Predefined profiles ["srgb"]
cs.ConvertColor(vnode clip, string output_profile[, string input_profile, int float_output=False])
  • clip: Clip to process
  • output_profile: Path to ICC profile to transform to - Predefined profiles ["srgb", "srgb-gray", "xyz"]
  • input_profile: Profile to transform from
  • float_output: Output as float

Formats

  • AVIF
  • HEIC
  • JPEG
    • libjpeg
      • RGB
      • YCbCr444
      • YCbCr420
      • YCbCr422
      • YCbCr440
      • L
      • CMYK
  • JXL
  • PNG
    • 8 bit RGBA
    • 8 bit RGB
    • 8 bit LA
    • 8 bit L
    • 16 bit RGBA
    • 16 bit RGB
    • 16 bit LA
    • 16 bit L
  • TIFF
  • WEBP

About


Languages

Language:C 98.7%Language:C++ 1.2%Language:Meson 0.0%Language:CMake 0.0%