185cf61d1f
Support one-bit channels
2024-08-09 01:05:50 -04:00
ripytide
6e73a1780b
Add deprecated re-export of ImageReader as Reader ( #2252 )
2024-06-02 15:23:13 -07:00
Jonathan Behrens
5de1efc7f2
Add cargo-semver-checks CI job ( #2253 )
2024-06-02 15:03:03 -07:00
ripytide
05a7d2b503
Add ImageEncoder implementation for Hdr (rebase of #2013 ) ( #2246 )
...
Co-authored-by: Johannes-Vollmer <32042925+johannesvollmer@users.noreply.github.com>
2024-06-02 12:34:48 -07:00
ripytide
6d5918f48e
Rename Reader to ImageReader ( #2243 )
2024-05-27 01:34:15 +01:00
Alphyr
d48c6a6ff3
Override clone_from implementations for a few types ( #2236 )
2024-05-20 09:25:59 -07:00
Emi
1207aca6af
webp frames iterator is now ending iteration if no more frames are decodable ( #2228 )
2024-05-15 22:28:24 -07:00
Jonathan Behrens
bc05c8c630
Fix features ( #2234 )
2024-05-12 20:45:13 -07:00
SMG
d710467273
fix typos and links for io::Limits docs ( #2229 )
2024-05-04 15:41:56 -07:00
Andreas Molzer
5013041c83
Merge pull request #2219 from Morgane55440/imagebuffer-new-zero-garantee
...
garantee that `ImageBuffer::new()` returns a buffer filled with `zero()`s of the corresponding type
2024-04-30 12:08:30 +02:00
morgane.baizeau
cad532fc38
followed clippy advice
2024-04-29 20:24:38 +02:00
morgane.baizeau
05fb134834
forgot to remove the test i used to design the macro
2024-04-29 20:20:10 +02:00
morgane.baizeau
396c4b235d
updated doc + tests
2024-04-29 20:12:09 +02:00
Jonathan Behrens
249184ed67
Fix clippy warnings in readme ( #2207 )
2024-04-14 12:39:11 -07:00
Jonathan Behrens
1c8df4cbd5
Switch to byteorder-lite crate ( #2196 )
2024-04-14 12:04:42 -07:00
Andreas Molzer
92236511ae
Fix test/example file excludes in wrong section ( #2206 )
2024-04-12 09:56:45 -07:00
Sergey "Shnatsel" Davidoff
779c2931eb
Add WebP roundtrip fuzzing target ( #2201 )
2024-04-11 10:01:18 -07:00
kozakura913
dff0e20b1d
av1 decoder colorspace from dav1d ( #2200 )
2024-04-10 23:07:34 -07:00
mattatz
1c95b861c4
Improve encode_gray performance in BmpEncoder ( #2193 )
2024-04-07 19:46:16 -07:00
Jonathan Behrens
ba78cba721
Clippy fixes ( #2197 )
2024-04-07 12:47:27 -07:00
src_resources
78167c39cc
Adjust two doc comments ( #2194 )
2024-04-05 23:34:01 -07:00
Jonathan Behrens
b7617037c8
Release 0.25.1 ( #2187 )
2024-03-30 19:13:43 -07:00
Jonathan Behrens
318ed0ab29
Fix error string for unsupported color type ( #2191 )
2024-03-30 17:53:22 -07:00
Martijn Gribnau
4594c80b36
Only accept .ff as path extension for Farbfeld ( #2181 )
...
This is consistent with ImageFormat::extensions_str, and usage by other image libraries and tools.
2024-03-26 11:56:00 -07:00
Dirkjan Ochtman
5c3d3db0d7
Disable strict mode for JPEG decoder ( #2183 )
2024-03-26 10:29:56 -07:00
Martijn Gribnau
73c7bfe8e2
fix: Correct the Farbfeld feature flag for ImageFormat::{reading_enabled, writing_enabled} ( #2182 )
...
The feature flag is now called "ff" instead of "farbfeld" in image '0.25'
2024-03-25 19:04:57 -07:00
Jonathan Behrens
d407e366e7
Add nasm to optionally enable faster AVIF encoding
2024-03-23 15:59:16 +00:00
Jonathan Behrens
87cbef72bc
Remove lingering references to ImageOutputFormat ( #2176 )
2024-03-22 21:32:36 -07:00
yuanyan3060
c193acbf7b
fix rgba8 image jpeg encode bug ( #2169 )
2024-03-22 21:31:17 -07:00
nathaniel-daniel
fbd3f3e7cd
Remove JPEG size limits while parsing header ( #2175 )
2024-03-22 21:17:03 -07:00
Jonathan Behrens
e8b7acb970
Mention DXT removal in changelog ( #2166 )
2024-03-14 20:12:04 -07:00
Jonathan Behrens
6edf8ae492
Merge pull request #2164 from image-rs/next-version-0.25
...
Release 0.25.0
2024-03-10 11:46:21 -07:00
Jonathan Behrens
c5a1be7939
Documentation fix
2024-03-10 11:38:12 -07:00
Jonathan Behrens
29a3d100f2
Release 0.25.0
2024-03-09 15:47:17 -08:00
Jonathan Behrens
affd32a793
Fix clippy warnings ( #2163 )
2024-03-09 15:45:34 -08:00
Jonathan Behrens
515b7e8ddd
Release 0.25.0-preview.0 ( #2161 )
2024-02-25 13:41:19 -08:00
Jonathan Behrens
d6f476148f
Force install to fix cache issue ( #2160 )
2024-02-24 18:42:58 -08:00
Jonathan Behrens
1f2238f0a8
Cache registry cache in cargo-afl CI job ( #2159 )
2024-02-24 18:01:27 -08:00
Jonathan Behrens
a207477dcb
Speed up CI runs ( #2158 )
2024-02-24 16:28:11 -08:00
Jonathan Behrens
ddb9c3674c
Cache cargo-fuzz install ( #2157 )
2024-02-24 12:45:47 -08:00
Jonathan Behrens
478ad437be
Make pixel types repr(transparent) rather than repr(C) ( #2156 )
2024-02-24 12:11:18 -08:00
Jonathan Behrens
bfc509e39e
Update readme ( #2155 )
2024-02-24 11:16:09 -08:00
Jonathan Behrens
fe7f010a81
Merge branch 'master' into next
2024-02-24 10:51:41 -08:00
Jonathan Behrens
2b513ae9a6
Release 0.24.9 ( #2152 )
2024-02-22 20:46:20 -08:00
brykgroup-andrews
0fbf44922d
Added offsets to SubImage to compensate for the now-deprecated bounds call from GenericImageView. ( #2126 )
2024-02-19 21:28:53 -08:00
Jonathan Behrens
495fc755ee
Fix new compiler warnings ( #2151 )
2024-02-19 21:11:35 -08:00
Jonathan Behrens
ac9b875d42
Have HDR decoder produce f32 images ( #2150 )
...
Co-authored-by: Pema Malling <pemamalling@gmail.com>
2024-02-19 13:39:44 -08:00
Jonathan Behrens
0ed15a8e32
Add BufRead + Seek bound on many decoders ( #2149 )
2024-02-19 12:45:10 -08:00
Jonathan Behrens
a0ebeabafc
Use ExtendedColorType when encoding ( #2142 )
2024-02-18 19:12:23 -08:00
Jonathan Behrens
3b1fbcf2ae
Switch to image-webp ( #2148 )
2024-02-18 15:09:12 -08:00
soupslurpr
00563e092a
Return error instead of using asssertion for Avif decoder unsupported or invalid bit depth ( #2146 )
2024-02-13 09:33:27 -08:00
Jonathan Behrens
2643c759d6
Add note on the meaning of 'ff' feature ( #2140 )
2024-02-12 19:17:21 -08:00
Sergey "Shnatsel" Davidoff
5607588550
Update zune-jpeg to 0.4.x ( #2143 )
2024-02-11 22:52:31 -08:00
Jonathan Behrens
a3da32ba11
Switch to using zune-jpeg for JPEG decoding ( #2141 )
2024-02-11 22:42:38 -08:00
Jonathan Behrens
0aa073eb6c
Don't globally allow any clippy lints ( #2139 )
2024-02-11 20:35:42 -08:00
Jonathan Behrens
f9ee4bd077
Make Limits #[non_exhaustive] ( #2137 )
2024-02-11 19:40:24 -08:00
Jonathan Behrens
9a8332ff1b
Remove ImageOutputFormat ( #2138 )
2024-02-11 19:31:00 -08:00
Jonathan Behrens
98672f6ad9
Remove deprecated items ( #2135 )
2024-02-11 18:58:59 -08:00
Jonathan Behrens
d3f6794815
Simplify cargo features ( #1976 )
2024-02-11 18:25:20 -08:00
Jonathan Behrens
5abf7b5f71
Make color_quant optional ( #2030 )
2024-02-11 17:21:09 -08:00
Jonathan Behrens
79ecd0fd12
Improve ImageDecoder trait ( #1869 )
2024-02-11 16:56:28 -08:00
Jonathan Behrens
85721e3a07
Run CI for next branch ( #2134 )
2024-02-11 15:25:38 -08:00
Jonathan Behrens
5d73d50c53
Update MSRV and fix clippy issues ( #2133 )
2024-02-11 12:40:33 -08:00
MrGunflame
d82854885c
Improve panic messages when providing invalid buffer sizes to ImageEncoders ( #2116 )
2024-02-02 15:19:46 -08:00
Marijn Suijten
445970c9ca
Perform MSRV check via -Zminimal-versions ( #2121 )
2024-01-31 09:25:31 -08:00
TÖRÖK Attila
e2c835f1ef
chore: Bump baptiste0928/cargo-install GitHub Action from v1 to v2
2024-01-30 13:16:13 +00:00
TÖRÖK Attila
887aa4364c
chore: Bump actions/checkout from v2 to v4
2024-01-30 13:16:13 +00:00
Kornel
25489be79a
Merge pull request #2117 from torokati44/gif-0.13
2024-01-30 13:15:41 +00:00
TÖRÖK Attila
a616091553
Fix data in bad_gif_oom regression test
...
With the new gif crate version, it gave a different error as was.
2024-01-30 13:06:26 +01:00
TÖRÖK Attila
7af925b193
Update to gif 0.13
2024-01-30 08:50:36 +01:00
Jonathan Behrens
6e7bd158d4
Relicense to MIT OR Apache-2.0 ( #2115 )
2024-01-28 17:23:35 -08:00
Sergey "Shnatsel" Davidoff
4989d5f83a
Support limits in PNG animation decoding ( #2112 )
2024-01-20 17:00:04 -08:00
Sergey "Shnatsel" Davidoff
a6886eaef7
Use chunks_exact_mut in PNG decoder ( #2110 )
2024-01-15 19:10:50 -08:00
Kyle Chen
778f18565b
Fix incorrect documentation of AvifEncoder::new_with_speed_quality ( #2106 )
2024-01-13 20:20:21 -08:00
Jonathan Behrens
6a3f978270
Fix AVIF limits test ( #2104 )
2024-01-13 18:18:59 -08:00
Jonathan Behrens
15598912c6
i686 cross test and don't continue-on-error in cross tests ( #2102 )
2024-01-13 17:40:14 -08:00
Jonathan Behrens
14d45771a9
Avoid overflow in gif::Decoder::buffer_size ( #2103 )
2024-01-13 17:33:24 -08:00
Jonathan Behrens
1269c1210c
Fix reference tests on big endian ( #2099 )
2024-01-13 16:52:12 -08:00
Jonathan Behrens
4bf989160e
Correct limit tests for TIFF ( #2101 )
2024-01-13 16:39:07 -08:00
Jonathan Behrens
69b8ea29ca
Release 0.24.8 ( #2095 )
2024-01-13 12:00:49 -08:00
Jonathan Behrens
e47ab5280a
Clearer error messages for limit errors ( #2094 )
2024-01-13 10:46:32 -08:00
Sergey "Shnatsel" Davidoff
d55be717d1
Fix setting GIF limits, implement limits for GIF animations ( #2090 )
2024-01-11 21:36:04 -08:00
Sergey "Shnatsel" Davidoff
96b8cee8fe
Add tests for resource limits ( #2085 )
2024-01-06 13:35:26 -08:00
Jonas Schade
997982269a
Show features in documentation ( #2066 )
2024-01-06 11:12:18 -08:00
Sergey "Shnatsel" Davidoff
1dd2079074
Fix GifDecoder::with_limits to raise an error when limits are exceeded ( #2083 )
2024-01-03 16:55:09 -08:00
Julian Knodt
25b284c20c
Optimize interpolate_bilinear ( #2078 )
...
- Remove usage of `Array::map`,
- make some math more clearly independent of other lines
- change `assert` to `debug_assert`
- change some flops to integer ops
- Flip order of storage for samples from [RGBA; 4] to [4R, 4G, 4B, 4A].
2023-12-25 13:14:47 -08:00
Andrew Cassidy
b8749ac665
implement From<DynamicImage> for all image types ( #2076 )
2023-12-24 20:59:42 -05:00
Juliapixel
719784120d
fix wrong implementation of unsharpen filter ( #2079 )
2023-12-24 15:23:32 -08:00
Sophie Herold
139e809282
tiff: Support CMYK images ( #2075 )
2023-12-24 15:22:41 -08:00
Anas
d970bf7a8c
refactor(farbfeld): use the built-in methods to convert the bytes between different representations ( #2071 )
2023-12-15 12:26:47 -08:00
Shun Sakai
3dcd4da548
Fix the supported image formats table ( #2068 )
2023-12-11 15:40:53 -08:00
Jonathan Behrens
9bbfb7dc4f
Fix clippy issue ( #2069 )
2023-12-11 15:40:42 -08:00
ScottyThePilot
81b3fe66fb
Add rayon parallel iterators ( #2058 )
2023-12-02 13:45:30 -08:00
Marvin
483d3b9a1e
TGA: RLE encoding ( #2056 )
2023-11-26 11:07:32 -08:00
Sophie Herold
d19d905b87
pnm: Scale samples according to specified maximum ( #2059 )
...
Some formats allow to specify a maximum value for samples.
Before, samples were not scaled respective to this
white point, decoding some images incorrectly dimmed.
2023-11-20 19:40:23 -05:00
Sophie Herold
d4748e2a9b
webp: Decode animations frame by frame ( #1924 )
...
Previously, animated WebPs could take some time
until they started playing and would consume more memory.
2023-11-19 22:21:59 -05:00
Julian Knodt
032c3e20d6
Do not round floats in interpolate ( #2052 )
2023-11-14 11:39:40 -08:00
FlareFlo
84438eba20
Replace assert with proper Unsupported error ( #2050 )
2023-11-05 14:04:44 -08:00
FlareFlo
eb05a39313
Handle non-fatal error dav1d::Error::Again ( #2043 )
2023-11-03 17:08:33 -07:00
FlareFlo
f1cdb3b3d5
Bump dav1d to 0.10.1 ( #2047 )
2023-11-03 16:14:14 -07:00