Initial Commit
This commit is contained in:
69 files changed
+7703
No files matched your search
+50
@@ -0,0 +1,50 @@
|
||||
name: image
|
||||
gpid: malunal
|
||||
semv: 1.0.0
|
||||
|
||||
options:
|
||||
level: 2
|
||||
|
||||
requires:
|
||||
- https://git.malunal.studio/sakura/std@v1.0.0
|
||||
|
||||
targets:
|
||||
- name: image
|
||||
type: library
|
||||
root: ./image
|
||||
deps:
|
||||
- std.containers
|
||||
- std.io
|
||||
- std.math
|
||||
- std.xml
|
||||
|
||||
# Times reading and writing each format; see its header.
|
||||
- name: image.bench
|
||||
type: program
|
||||
level: ${level}
|
||||
deps:
|
||||
- image
|
||||
- std.io
|
||||
- std.time
|
||||
srcs:
|
||||
- tools/bench.sakura
|
||||
|
||||
tests:
|
||||
# They read the images in `tests/images/`, from the package's root.
|
||||
- name: image.tests
|
||||
type: program
|
||||
deps: [image, std.io, std.testing]
|
||||
srcs:
|
||||
- tests/main.sakura
|
||||
- tests/support.sakura
|
||||
- tests/formats.sakura
|
||||
- tests/png.sakura
|
||||
- tests/jpeg.sakura
|
||||
- tests/svg.sakura
|
||||
|
||||
exports:
|
||||
- image
|
||||
|
||||
package:
|
||||
desc: Images read from PNG, JPEG, and SVG, and written to PNG and JPEG, as RGBA of eight bits a channel in sRGB.
|
||||
auth: John Christman <sorakatadzuma@gmail.com>
|
||||
Reference in new issue
Block a user