mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Package lines for core:image.
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
// package bmp implements a Microsoft BMP image reader
|
// package bmp implements a Microsoft BMP image reader and writer.
|
||||||
package core_image_bmp
|
package core_image_bmp
|
||||||
|
|
||||||
import "core:image"
|
import "core:image"
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
package image
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright 2021 Jeroen van Rijn <nom@duclavier.com>.
|
Copyright 2021 Jeroen van Rijn <nom@duclavier.com>.
|
||||||
Made available under Odin's BSD-3 license.
|
Made available under Odin's BSD-3 license.
|
||||||
@@ -7,9 +9,6 @@
|
|||||||
Ginger Bill: Cosmetic changes.
|
Ginger Bill: Cosmetic changes.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// package image implements a general 2D image library to be used with other image related packages
|
|
||||||
package image
|
|
||||||
|
|
||||||
import "core:bytes"
|
import "core:bytes"
|
||||||
import "core:mem"
|
import "core:mem"
|
||||||
import "core:io"
|
import "core:io"
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
// package jpeg implements a reader for baseline JPEG images.
|
||||||
package jpeg
|
package jpeg
|
||||||
|
|
||||||
import "core:bytes"
|
import "core:bytes"
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
package netpbm implements readers and writers for PBM, PGM, PPM, PAM and PFM images.
|
||||||
|
|
||||||
Formats:
|
Formats:
|
||||||
|
|
||||||
PBM (P1, P4): Portable Bit Map, stores black and white images (1 channel)
|
PBM (P1, P4): Portable Bit Map, stores black and white images (1 channel)
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
package png implements a PNG image reader
|
package png implements a PNG image reader.
|
||||||
|
|
||||||
The PNG specification is at [[ https://www.w3.org/TR/PNG/ ]].
|
The PNG specification is at [[ https://www.w3.org/TR/PNG/ ]].
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
// package qoi implements a QOI image reader.
|
||||||
|
//
|
||||||
|
// The QOI specification is at [[ https://qoiformat.org ]].
|
||||||
|
package qoi
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright 2022 Jeroen van Rijn <nom@duclavier.com>.
|
Copyright 2022 Jeroen van Rijn <nom@duclavier.com>.
|
||||||
Made available under Odin's BSD-3 license.
|
Made available under Odin's BSD-3 license.
|
||||||
@@ -6,12 +11,6 @@
|
|||||||
Jeroen van Rijn: Initial implementation.
|
Jeroen van Rijn: Initial implementation.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
// package qoi implements a QOI image reader
|
|
||||||
//
|
|
||||||
// The QOI specification is at [[ https://qoiformat.org ]].
|
|
||||||
package qoi
|
|
||||||
|
|
||||||
import "core:image"
|
import "core:image"
|
||||||
import "core:compress"
|
import "core:compress"
|
||||||
import "core:bytes"
|
import "core:bytes"
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
// package tga implements a TGA image reader and writer for 8-bit RGB and RGBA images.
|
||||||
|
package tga
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright 2022 Jeroen van Rijn <nom@duclavier.com>.
|
Copyright 2022 Jeroen van Rijn <nom@duclavier.com>.
|
||||||
Made available under Odin's BSD-3 license.
|
Made available under Odin's BSD-3 license.
|
||||||
@@ -7,10 +10,6 @@
|
|||||||
Benoit Jacquier: tga loader
|
Benoit Jacquier: tga loader
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
// package tga implements a TGA image writer for 8-bit RGB and RGBA images.
|
|
||||||
package tga
|
|
||||||
|
|
||||||
import "core:mem"
|
import "core:mem"
|
||||||
import "core:image"
|
import "core:image"
|
||||||
import "core:bytes"
|
import "core:bytes"
|
||||||
|
|||||||
Reference in New Issue
Block a user