{
  "authors": [
    "Jeff Carter"
  ],
  "build-switches": {
    "*": {
      "ada_version": "Ada12",
      "style_checks": "No"
    }
  },
  "depends-on": [
    {
      "gnat": "<13.0 | >=13.3"
    },
    {
      "pragmarc": "^20240323.0.0"
    },
    {
      "gid": "^13.0.0"
    },
    {
      "crc_32": "^20240725.0.0"
    },
    {
      "z_compression": "^20240724.0.0"
    }
  ],
  "description": "Output in BMP,PPM,QOI;input in BMP,GIF,JPG,PNG,PNM,QOI,TGA",
  "licenses": "BSD-3-Clause",
  "long-description": "# Image_IO\nOutput in BMP, PNG, PPM, and QOI formats; input in BMP, GIF, JPG, PNG, PNM, QOI, and TGA formats\n\nPackage Image_IO.Operations provides the ability to input and output images.\n\nPNG is a lossless compressed format that is widely supported. Uncompressed BMP is a universal format that is very large. PPM is intended to be a set of portable formats, but lacks support by default on some platforms. QOI is a lossless compressed format, but not widely supported.\n\nWrite_P3 uses [PragmARC.Text_IO](https://github.com/jrcarter/PragmARC/blob/Ada-12/pragmarc-text_io.ads) to obtain uniform line terminators across platforms. This can be easily changed to Ada.Text_IO if the line terminators are not a concern.\n\nWrite_PNG uses [Z_Compression](https://github.com/jrcarter/Z_Compression) and [CRC-32](https://github.com/jrcarter/CRC-32).\n\nRead is a wrapper around [Generic Image Decoder (GID)](https://github.com/zertovitch/gid) for the most common use: reading an image from a file. GID may be used to decode images from other sources, but that generality makes it complex to use. Read ignores transparency (Alpha channel) and only reads the first frame of an animation.\n\nPure_RGB is a demo program that reads an image using Read, modifies it to change all color components to the closest of 0 or 255, and outputs the result using Write_PNG. It is invoked with\n\n     pure_rgb <name>\n\nThe output name is the input name with \".png\" appended. Pure_RGB does no error handling; if the input file name is omitted, doesn't exist, or is not a supported image format, the program will terminate with an unhandled exception.\n\nImage_IO and Pure_RGB have been compiled and tested with GNAT 12.3.0 on Linux and ObjectAda 10.5U7 on Windows.\n",
  "maintainers": [
    "Bent Bracke <bent@bracke.dk>"
  ],
  "maintainers-logins": [
    "bracke"
  ],
  "name": "image_io",
  "origin": {
    "commit": "e3fcdc57ed2f868e3ad21aeb3330d23c5ec3dbe5",
    "url": "git+https://github.com/bracke/Image_IO.git"
  },
  "tags": [
    "image",
    "io",
    "bmp",
    "ppm",
    "qoi",
    "gif",
    "jpg",
    "png",
    "pnm",
    "tga"
  ],
  "version": "20240725.0.0",
  "website": "https://github.com/bracke/Image_IO"
}
