Tesseract.pix_write_spix — Functionpix_write_spix(
filename::AbstractString,
pix::Pix
)::BoolWrite an image to a file in the SPIX 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_spix(
stream::IO,
pix::Pix
)::BoolWrite an image to an IO stream in the SPIX image format. If there is an error false is returned.
Arguments:
| T | Name | Default | Description |
|---|---|---|---|
| R | stream | The stream to write the image to. | |
| R | pix | The image to write to the file. |
pix_write_spix(
pix::Pix
)::Union{Vector{UInt8}, Nothing}Write an image to a byte array in the SPIX image format. If there is an error nothing is returned.
Arguments:
| T | Name | Default | Description |
|---|---|---|---|
| R | pix | The image to write to a byte array. |