2
0
mirror of https://github.com/boostorg/gil.git synced 2026-01-22 17:22:26 +00:00
Files
gil/example/packed_pixel.md
2022-06-27 22:47:47 +02:00

23 lines
745 B
Markdown

# Packed Pixel
Packed pixel formats capabilities in GIL are demonstrated by the program `packed_pixel`, compiled from the sources `example/packed_pixel.cpp`.
## Synopsis
`packed_pixel`
The program doesn't take any argument on the command line.
`packed_pixel` expects to find an image called `input.jpg` in the current directory in JPEG format, and produces two images in the current directory in return, `out-packed_pixel_bgr772.jpg` and `out-packed_pixel_gray1.jpg`.
## Specific requirements
### Build requirements
- A C++ compiler compliant with C++14 or above
- The JPEG library installed and configured.
### Execution requirements
`packed_pixel` expects to find an image called `input.jpg` in the current directory in JPEG format.