AimRT/_deps/boost-src/libs/gil/example/packed_pixel.md

23 lines
745 B
Markdown
Raw Normal View History

2025-01-12 20:40:08 +08:00
# 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.