Package lines for core:image.

This commit is contained in:
Jeroen van Rijn
2025-10-09 17:18:51 +02:00
parent 51cd08296f
commit 673358f8b9
7 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -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"
+2 -3
View File
@@ -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
View File
@@ -1,3 +1,4 @@
// package jpeg implements a reader for baseline JPEG images.
package jpeg package jpeg
import "core:bytes" import "core:bytes"
+2
View File
@@ -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 -1
View File
@@ -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/ ]].
+5 -6
View File
@@ -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"
+3 -4
View File
@@ -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"