home
wiki
classes/clusters list
class information
+
Point of view
All features
ANY
INTERNALS_HANDLER
All features
class PNM
Summary
top
This object is able to read
PNM
file format.
The pixels data are in
image
array. Either modifiy the image by changing values in this array or use a
PIXMAP
object to display this image.
Direct parents
insert list:
ANY
Overview
top
creation features
make
(file_to_read:
STRING
)
features
make
(file_to_read:
STRING
)
width
:
INTEGER_32
height
:
INTEGER_32
max_value
:
INTEGER_32
bitmap
:
BOOLEAN
grey_scale
:
BOOLEAN
color
:
BOOLEAN
image
:
FAST_ARRAY
[
CHARACTER
]
read
(input:
INPUT_STREAM
)
read_integer
(input:
INPUT_STREAM
):
BOOLEAN
last_integer
:
INTEGER_32
file_tools
:
FILE_TOOLS
make
(file_to_read:
STRING
)
effective procedure
top
require
file_tools
.is_file(file_to_read) and then
file_tools
.is_readable(file_to_read)
width
:
INTEGER_32
writable attribute
top
height
:
INTEGER_32
writable attribute
top
max_value
:
INTEGER_32
writable attribute
top
bitmap
:
BOOLEAN
writable attribute
top
grey_scale
:
BOOLEAN
writable attribute
top
color
:
BOOLEAN
writable attribute
top
image
:
FAST_ARRAY
[
CHARACTER
]
writable attribute
top
read
(input:
INPUT_STREAM
)
effective procedure
top
read_integer
(input:
INPUT_STREAM
):
BOOLEAN
effective function
top
last_integer
:
INTEGER_32
writable attribute
top
file_tools
:
FILE_TOOLS
writable attribute
top