All Projects → zigimg → zigimg

zigimg / zigimg

Licence: MIT License
Zig library for reading and writing different image formats

Programming Languages

Zig
133 projects
AMPL
153 projects

Projects that are alternatives of or similar to zigimg

sail
The missing small and fast image decoding library for humans (not for machines) ⛵ https://sail.software
Stars: ✭ 206 (+83.93%)
Mutual labels:  png, bmp, pcx
gfxprim
Open-source modular 2D bitmap graphics library with emphasis on speed and correctness.
Stars: ✭ 32 (-71.43%)
Mutual labels:  png, bmp
StegX
Steganography (BMP, PNG, WAV, MP3, AVI, FLV)
Stars: ✭ 22 (-80.36%)
Mutual labels:  png, bmp
png pong
A pure Rust PNG image decoder and encoder based on lodepng.
Stars: ✭ 21 (-81.25%)
Mutual labels:  png, png-decoder
Imagesharp
📷 A modern, cross-platform, 2D Graphics library for .NET
Stars: ✭ 5,186 (+4530.36%)
Mutual labels:  png, bmp
Imageprocessor
📷 A fluent wrapper around System.Drawing for the processing of image files.
Stars: ✭ 2,452 (+2089.29%)
Mutual labels:  png, bmp
QuickImageFX
Simplifying image manipulation using GDI, Graphics32, OpenCV or Vampyre Imaging libraries
Stars: ✭ 41 (-63.39%)
Mutual labels:  png, bmp
Quickshot
Capture images of any View, SurfaceView or Bitmap from your Android app in: .jpg .png or .nomedia with simple oneliner codes.
Stars: ✭ 663 (+491.96%)
Mutual labels:  png, bitmap
stbi-sharp
C# wrapper around stb_image.h and qoi.h
Stars: ✭ 17 (-84.82%)
Mutual labels:  png, bmp
nimPNG
PNG (Portable Network Graphics) decoder and encoder written in Nim
Stars: ✭ 81 (-27.68%)
Mutual labels:  png, png-decoder
StbSharp
C# port of the famous C framework
Stars: ✭ 62 (-44.64%)
Mutual labels:  png, bmp
imageformats
Library for decoding obscure graphics formats, such as Targa (.TGA), Sun raster (.RAS, .SUN), ZSoft (.PCX), Netpbm (.PPM, .PGM, .PBM, .PNM), Amiga (LBM, PIC), SGI, MacPaint, and DICOM.
Stars: ✭ 21 (-81.25%)
Mutual labels:  netpbm, pcx
ICNS2ICO
ICNS2ICO lets you easily convert icons from the Apple's ICNS format to the Windows ICO format.
Stars: ✭ 17 (-84.82%)
Mutual labels:  png, bmp
glitch-studio
data bending & glitch tools
Stars: ✭ 66 (-41.07%)
Mutual labels:  png, png-decoder
pcxtools
MSX cross-development command line tools PNG2MSX, PNG2SPR[+] and TMX2BIN
Stars: ✭ 17 (-84.82%)
Mutual labels:  png, pcx
numpngw
Functions that create PNG and animated PNG files from numpy arrays.
Stars: ✭ 49 (-56.25%)
Mutual labels:  png
art.zig
An Adaptive Radix Tree ported from c
Stars: ✭ 35 (-68.75%)
Mutual labels:  zig-library
gb-convert
Gameboy tile conversion and map editor tool
Stars: ✭ 26 (-76.79%)
Mutual labels:  png
bitsnpicas
Bits'N'Picas - Bitmap & Emoji Font Creation & Conversion Tools
Stars: ✭ 171 (+52.68%)
Mutual labels:  bitmap
TakingImageOfAView
An example on how to take screenshot of a particular view
Stars: ✭ 15 (-86.61%)
Mutual labels:  bitmap

Zig Image library

This is a work in progress library to create, process, read and write different image formats with Zig programming language.

License Issue Commit CI

Install & Build

This project assume current Zig master (0.10.0+).

How to add to your project:

  1. Clone this repository or add as a submodule
  2. Add to your build.zig
exe.addPackagePath("zigimg", "zigimg/zigimg.zig");

To run the test suite, checkout the test suite and run

zig build test

Supported image formats

Image Format Read Write
ANIM
BMP ✔️ (Partial)
GIF
ICO
IILBM
JPEG
PAM
PBM ✔️
PCX ✔️
PGM ✔️ (Partial) ✔️ (Partial)
PNG ✔️
PPM ✔️ (Partial)
QOI ✔️ ✔️
TGA ✔️
TIFF
XBM
XPM

BMP - Bitmap

  • version 4 BMP
  • version 5 BMP
  • 24-bit RGB
  • 32 RGBA
  • Doesn't support any compression

PBM - Portable Bitmap format

  • Everything is supported

PCX - ZSoft Picture Exchange format

  • Support monochrome, 4 color, 16 color and 256 color indexed images
  • Support 24-bit RGB images

PGM - Portable Graymap format

  • Support 8-bit and 16-bit grayscale images
  • 16-bit ascii grayscale loading not tested

PNG - Portable Network Graphics

  • Support all pixel formats supported by PNG (grayscale, grayscale+alpha, indexed, truecolor, truecolor with alpha) in 8-bit or 16-bit.
  • Support the mininal chunks in order to decode the image.
  • Not all images in Png Test Suite is covered but should be good enough for now.

PPM - Portable Pixmap format

  • Support 24-bit RGB (8-bit per channel)
  • Missing 48-bit RGB (16-bit per channel)

QOI - Quite OK Image Format

TGA - Truevision TGA format

  • Supports uncompressed and compressed 8-bit grayscale, indexed with 16-bit colormap, truecolor with 24-bit or 32-bit bit depth.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].