Tesseract.pix_write_pam — Functionpix_write_pam(
filename::AbstractString,
pix::Pix
)::BoolWrite an image to a file in the PAM image format. If there is an error false is returned.
Arguments:
| T | Name | Default | Description |
|---|---|---|---|
| R | filename | The name of the file to write to. | |
| R | pix | The image to write to the file. |
Details:
If the file exists it will be overwritten.
pix_write_pam(
stream::IO,
pix::Pix
)::BoolWrite an image to an IO stream in the PAM image format. If there is an error false is returned.
Arguments:
| T | Name | Default | Description |
|---|---|---|---|
| R | stream | The IO stream to write the image to. | |
| R | pix | The image to write to the stream. |
pix_write_pam(
pix::Pix
)::Union{Vector{UInt8}, Nothing}Write an image to a byte array in the PAM image format. If there is an error nothing is returned.
Arguments:
| T | Name | Default | Description |
|---|---|---|---|
| R | pix | The image to write to the byte array. |