forked from zigimg/zigimg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzigimg.zig
45 lines (43 loc) · 2 KB
/
zigimg.zig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
pub const AllFormats = @import("src/formats/all.zig");
pub const bmp = @import("src/formats/bmp.zig");
pub const color = @import("src/color.zig");
pub const Colors = @import("src/predefined_colors.zig").Colors;
pub const FormatInterface = @import("src/FormatInterface.zig");
pub const gif = @import("src/formats/gif.zig");
pub const Image = @import("src/Image.zig");
pub const ImageUnmanaged = @import("src/ImageUnmanaged.zig");
pub const jpeg = @import("src/formats/jpeg.zig");
pub const math = @import("src/math.zig");
pub const netpbm = @import("src/formats/netpbm.zig");
pub const OctTreeQuantizer = @import("src/OctTreeQuantizer.zig");
pub const pam = @import("src/formats/pam.zig");
pub const pcx = @import("src/formats/pcx.zig");
pub const PixelFormat = @import("src/pixel_format.zig").PixelFormat;
pub const PixelFormatConverter = @import("src/PixelFormatConverter.zig");
pub const png = @import("src/formats/png.zig");
pub const qoi = @import("src/formats/qoi.zig");
pub const tga = @import("src/formats/tga.zig");
test {
const std = @import("std");
std.testing.refAllDecls(@This());
inline for (.{
@import("src/compressions/lzw.zig"),
@import("src/formats/png/reader.zig"),
@import("tests/buffered_stream_source_test.zig"),
@import("tests/color_test.zig"),
@import("tests/formats/bmp_test.zig"),
@import("tests/formats/gif_test.zig"),
@import("tests/formats/jpeg_test.zig"),
@import("tests/formats/netpbm_test.zig"),
@import("tests/formats/pam_test.zig"),
@import("tests/formats/pcx_test.zig"),
@import("tests/formats/png_test.zig"),
@import("tests/formats/qoi_test.zig"),
@import("tests/formats/tga_test.zig"),
@import("tests/image_test.zig"),
@import("tests/math_test.zig"),
@import("tests/octree_quantizer_test.zig"),
@import("tests/pixel_format_converter_test.zig"),
@import("tests/pixel_format_test.zig"),
}) |source_file| std.testing.refAllDeclsRecursive(source_file);
}