FANDOM


Image ProcessingEdit

CairoEdit

ResizingEdit

OpenCVEdit

Boost.GILEdit

GeotagEdit

Pixel arts converterEdit

  • Since the power of hardware is enough for big image it needs to be converted to that can scale.

hqxEdit

Depixelizing pixel artEdit

File formatEdit

  • Binary data to store image data.

SVGEdit

  • popular vector image format.
  • used in web standard.

GIFEdit

  • GIFLIB
  • Had patent problem.
  • The only image format that has animation feature that works.
    • So animated image file is called "GIF image"

PNGEdit

Using manual outputEdit


static void write_data(png_structp out_ptr, png_bytep data, png_size_t len) {
  reinterpret_cast<std::ostream*>(png_get_io_ptr(out_ptr))->write(
    reinterpret_cast<char const*>(data), len);
}
static void flush_stream(png_structp out_ptr) {
  reinterpret_cast<std::ostream*>(png_get_io_ptr(out_ptr))->flush();
}

png_structp out = /* create png_struct */
png_set_write_fn(out, &ostream_ptr, &write_data, &flush_stream);

/* write data */

Using manual inputEdit


static void read_data(png_structp in_ptr, png_bytep data, png_size_t len) {
  reinterpret_cast<std::istream*>(png_get_io_ptr(in_ptr))->read(
    reinterpret_cast<char*>(data), len);
}

png_structp in = /* create png_struct */
png_set_read_fn(out, &ostream_ptr, &read_data);

/* read data */

BMPEdit

  • Format used in old Windows.
  • It doesn't have good compression so the file gets big

TIFFEdit

JPEGEdit

  • Well used loss compression image format.
  • Uses discrete cosine transform to compress.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.