Everything about image structures and processing. More...
Classes | |
| class | bitmap |
| A class for bitmap images. More... | |
| class | color_palette |
| A palette of colors, for palettized images. More... | |
| class | image |
| A class to deal with images. More... | |
| class | jpeg |
| A class for jpeg pictures. More... | |
| class | pcx |
| A class for pcx pictures. More... | |
| struct | rgb_pixel |
| RGB pixel. More... | |
| union | rgba_pixel |
| RGBA pixel. More... | |
| class | png |
| A class for png pictures. More... | |
| class | targa |
| A class for targa pictures. More... | |
| class | xbm |
| A class for xbm pictures. More... | |
Typedefs | |
| typedef rgb_pixel | rgb_pixel_8 |
| typedef rgba_pixel | rgba_pixel_8 |
Functions | |
| rgba_pixel | white_pixel (std::numeric_limits< rgba_pixel::component_type >::max(), std::numeric_limits< rgba_pixel::component_type >::max(), std::numeric_limits< rgba_pixel::component_type >::max(), std::numeric_limits< rgba_pixel::component_type >::max()) |
| rgba_pixel | red_pixel (std::numeric_limits< rgba_pixel::component_type >::max(), 0, 0, std::numeric_limits< rgba_pixel::component_type >::max()) |
| rgba_pixel | magenta_pixel (std::numeric_limits< rgba_pixel::component_type >::max(), 0, std::numeric_limits< rgba_pixel::component_type >::max(), std::numeric_limits< rgba_pixel::component_type >::max()) |
| rgba_pixel | cyan_pixel (std::numeric_limits< rgba_pixel::component_type >::max(), std::numeric_limits< rgba_pixel::component_type >::max(), 0, std::numeric_limits< rgba_pixel::component_type >::max()) |
| void | jpeg__error_manager__error_exit (j_common_ptr cinfo) |
| Throw an exception when an error occurs in an internal jpeg processing. | |
Variables | |
| rgba_pixel | black_pixel (0, 0, 0, std::numeric_limits< rgba_pixel::component_type >::max()) |
| rgba_pixel | blue_pixel (0, 0, std::numeric_limits< rgba_pixel::component_type >::max(), std::numeric_limits< rgba_pixel::component_type >::max()) |
| rgba_pixel | green_pixel (0, std::numeric_limits< rgba_pixel::component_type >::max(), 0, std::numeric_limits< rgba_pixel::component_type >::max()) |
| rgba_pixel | yellow_pixel (0, std::numeric_limits< rgba_pixel::component_type >::max(), std::numeric_limits< rgba_pixel::component_type >::max(), std::numeric_limits< rgba_pixel::component_type >::max()) |
| rgba_pixel | white_pixel |
| rgba_pixel | red_pixel |
| rgba_pixel | magenta_pixel |
| rgba_pixel | cyan_pixel |
Everything about image structures and processing.
| typedef rgb_pixel claw::graphic::rgb_pixel_8 |
| rgba_pixel claw::graphic::cyan_pixel | ( | std::numeric_limits< rgba_pixel::component_type >:: | max(), | |
| std::numeric_limits< rgba_pixel::component_type >:: | max(), | |||
| 0 | , | |||
| std::numeric_limits< rgba_pixel::component_type >:: | max() | |||
| ) |
| void claw::graphic::jpeg__error_manager__error_exit | ( | j_common_ptr | cinfo | ) |
Throw an exception when an error occurs in an internal jpeg processing.
| cinfo | Informations about the process. |
Definition at line 39 of file jpeg_error_manager.cpp.
References claw::graphic::jpeg::error_manager::error_string, and claw::graphic::jpeg::error_manager::setjmp_buffer.
Referenced by claw::graphic::jpeg::reader::decompress(), claw::graphic::jpeg::reader::read_data(), claw::graphic::jpeg::reader::read_from_file(), claw::graphic::jpeg::writer::save(), and claw::graphic::jpeg::writer::save_image().
00040 { 00041 claw::graphic::jpeg::error_manager* err = 00042 (claw::graphic::jpeg::error_manager*)cinfo->err; 00043 00044 err->error_string = cinfo->err->jpeg_message_table[cinfo->err->msg_code]; 00045 00046 /* Return control to the setjmp point */ 00047 longjmp(err->setjmp_buffer, 1); 00048 } // jpeg__error_manager__error_exit()
| rgba_pixel claw::graphic::magenta_pixel | ( | std::numeric_limits< rgba_pixel::component_type >:: | max(), | |
| 0 | , | |||
| std::numeric_limits< rgba_pixel::component_type >:: | max(), | |||
| std::numeric_limits< rgba_pixel::component_type >:: | max() | |||
| ) |
| rgba_pixel claw::graphic::red_pixel | ( | std::numeric_limits< rgba_pixel::component_type >:: | max(), | |
| 0 | , | |||
| 0 | , | |||
| std::numeric_limits< rgba_pixel::component_type >:: | max() | |||
| ) |
| rgba_pixel claw::graphic::white_pixel | ( | std::numeric_limits< rgba_pixel::component_type >:: | max(), | |
| std::numeric_limits< rgba_pixel::component_type >:: | max(), | |||
| std::numeric_limits< rgba_pixel::component_type >:: | max(), | |||
| std::numeric_limits< rgba_pixel::component_type >:: | max() | |||
| ) |
Definition at line 115 of file pixel.hpp.
Referenced by claw::graphic::pcx::reader::converter_mono::operator()(), and claw::graphic::xbm::reader::read_pixels().
1.6.1