Commit graph

43 commits

Author SHA1 Message Date
John Preston
bcfce982c8 Move inline image/path expanding here. 2023-08-24 18:01:55 +02:00
Ilya Fedin
7e5ac77096 Fix devicePixelRatio when applying image rounding 2023-03-30 12:12:03 +04:00
John Preston
c72beeeb7c Fix escaping QByteArray construction. 2023-01-12 10:10:21 +04:00
Ilya Fedin
6cd13e1057 Handle jpeg errors with exceptions 2023-01-09 14:49:00 +04:00
Ilya Fedin
3c261d254e Implement lossless jpeg progression 2023-01-09 14:07:58 +04:00
Ilya Fedin
b67cff089c Output error message when dealing with jpeg errors 2023-01-09 14:07:58 +04:00
Ilya Fedin
2cd253208d Fix a possible leak when IsProgressiveJpeg gets invalid data 2023-01-02 11:06:39 +04:00
John Preston
8649a55727 Simplify coloring of semi-transparent images. 2022-12-15 19:07:50 +04:00
John Preston
2c2a7887e6 Add Images::EllipseMask method to the interface. 2022-10-03 11:34:26 +04:00
John Preston
cec09b0260 Support complex-rounded image spoilers. 2022-09-30 23:03:06 +04:00
John Preston
f49ec866c1 Allow rounding with different radius per corner. 2022-09-30 18:42:14 +04:00
John Preston
2e63c6103e Allow strictly blurring images with alpha. 2022-09-05 18:55:17 +04:00
Ilya Fedin
851444a172 Use brackets include zlib 2022-06-07 18:45:25 +04:00
Ilya Fedin
5fa3d7a9da Remove unused variable 2022-03-21 10:16:44 +04:00
John Preston
1027fb5dff Fix colorizing sparse images. 2022-03-18 20:40:27 +04:00
John Preston
c7826b8dff Attempt to fix building with GCC. 2022-03-11 15:54:21 +04:00
John Preston
81e216f1ce Allow checking if JPEG bytes are a progressive jpeg. 2022-03-09 17:37:02 +04:00
John Preston
f93c2bb5e5 Always convert to ARGB before rounding. 2022-02-08 11:06:19 +03:00
John Preston
ff50940cd6 Fix build with Xcode. 2022-01-22 16:31:39 +03:00
John Preston
b4fff03da4 Fix buffer double-delete in Images::Blur. 2022-01-21 15:58:55 +03:00
John Preston
87e62b7737 Refactor Images manipulating methods. 2022-01-21 15:25:55 +03:00
John Preston
fb812fd748 Allow manual style::complex_color refresh. 2021-10-22 18:33:13 +04:00
John Preston
48ebd65323 Add Images::GenerateShadow. 2021-10-21 21:23:08 +04:00
John Preston
40fc5b35f0 Use QImage span for corner masks. 2021-09-27 19:30:46 +04:00
John Preston
246b947fa7 Always assign colors when assigning palettes. 2021-09-11 12:26:16 +03:00
23rd
beb09445d1 Appended references to const auto type in loop to prevent copying. 2021-09-08 14:01:07 +03:00
John Preston
db1b4b65c7 Provide GenerateLinearGradient with several colors. 2021-09-06 13:17:13 +03:00
John Preston
5938cb012f Don't try to open files by empty paths. 2021-08-20 20:10:21 +03:00
John Preston
6b320a99da Generate gradients in QImage::Format_RGB32. 2021-08-17 17:34:01 +03:00
John Preston
669767855a Add gradient generating methods. 2021-08-16 13:23:48 +03:00
John Preston
3b45189923 Use dither radius based on image size. 2021-08-16 12:29:30 +03:00
John Preston
3d5fcdb7dd Add Images::DitherImage. 2021-08-13 15:58:13 +03:00
John Preston
dd88f8fa41 Add UnpackGzip and reading gzip-ed SVGs. 2021-08-11 19:54:59 +03:00
John Preston
2bd63281b5 Add Images::Read method. 2021-08-11 17:53:02 +03:00
Ilya Fedin
b8485c0d8a Fix -Wunused-variable warnings 2021-07-13 21:24:22 +03:00
Ilya Fedin
c74cf04cc6 Get rid of deprecated ranges::view usage 2021-03-13 19:06:44 +03:00
John Preston
d2ae2cf8f6 Allow RoundRect to have arbitrary radius. 2020-10-13 18:10:58 +03:00
John Preston
4c04017737 Fix checks in small image round request. 2020-08-13 15:10:42 +04:00
John Preston
ccc12ce3da Fix crash in rounding of shared images.
Regression was introduced in 721d143c89.
2020-02-25 13:17:00 +04:00
John Preston
721d143c89 Fix rounding of sparse QImage-s. 2020-01-21 17:04:36 +03:00
John Preston
65eb03a6a7 Don't change image pixel ratio when rounding. 2019-12-14 17:08:29 +03:00
John Preston
199e51706f Support build with range-v3 0.9.1. 2019-10-02 14:43:04 +03:00
John Preston
85c83003ca Initial commit. 2019-09-17 17:48:58 +03:00