File: image.general

package info (click to toggle)
dxsamples 4.4.0-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 26,340 kB
  • sloc: ansic: 10,079; sh: 8,445; java: 1,772; makefile: 1,102
file content (29 lines) | stat: -rw-r--r-- 889 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# this is an example header file which will allow importation of the data
# contained in "cylinder.rgb". Compare this header to the dx header file
# image.dx.  You can read in this image, and display it, using the
# visual program ReadImage.net.
#
#
# The data are found in the file "cylinder.rgb"
file = cylinder.rgb
#
# The grid is 350x300 (pixels)
grid = 350x300
#
# The data values in the file are bytes
type = byte
#
# the data component contains the colors, which are 3-vectors
structure = 3-vector
#
# the following line specifies that the data are organized such that the
# first index (in this case x) varies fastest when reading the data.
majority = column
#
# The data is stored in binary format
format = msb binary
#
# here we specify origin_x, delta_x, origin_y, delta_y
# Images are described from "top to bottom", hence the value of -1 for
# delta_y
positions = 0, 1, 0, -1