File: coding.rb

package info (click to toggle)
ruby-vips 2.1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,164 kB
  • sloc: ruby: 3,530; makefile: 3
file content (13 lines) | stat: -rw-r--r-- 463 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
module Vips
  # How pixels are coded.
  #
  # Normally, pixels are uncoded and can be manipulated as you would expect.
  # However some file formats code pixels for compression, and sometimes it's
  # useful to be able to manipulate images in the coded format.
  #
  # * `:none` pixels are not coded
  # * `:labq` pixels encode 3 float CIELAB values as 4 uchar
  # * `:rad` pixels encode 3 float RGB as 4 uchar (Radiance coding)
  class Coding < Symbol
  end
end