Commit Graph

431 Commits

Author SHA1 Message Date
Andrew Murray
28878c68e1
Merge pull request #6449 from ShadelessFox/main
Added DDS BC6 reading
2022-10-11 12:58:24 +11:00
Andrew Murray
78d258f24d Removed gamma correction 2022-10-10 20:48:18 +11:00
Andrew Murray
eef4d1ced1 Moved mode check outside of loops 2022-10-09 08:48:07 +11:00
Andrew Murray
34f61d6d2d Updated redirected URLs 2022-09-23 22:13:50 +10:00
Hugo van Kemenade
0b5c150805
Merge pull request #6497 from radarhere/convert 2022-08-31 17:09:38 +03:00
Andrew Murray
e613271776 Fixed typo 2022-08-27 18:48:47 +10:00
Andrew Murray
8a60db322f Copy palette when converting from P to PA 2022-08-17 17:05:53 +10:00
Andrew Murray
b84816c02f Added pa2p 2022-08-16 22:45:55 +10:00
ShadelessFox
952237d373
Minimize unnecessary code changes 2022-07-31 19:16:25 +03:00
ShadelessFox
3bec5999e0
Rename remaining occurrences of BC6S -> BC6HS 2022-07-23 15:20:35 +03:00
ShadelessFox
18a3c249b6
Fix BC6H_SF decoder 2022-07-18 22:24:40 +03:00
REDxEYE
b7715d1600
Fix BC6H_SF decoding error.
Decoding error were caused by additional sign extend call after endpoint
transform, according to khronos documentation, you only suppose to sign
extend endpoints only once, further calls to sign extend mangles
endpoint data.
2022-07-18 22:24:40 +03:00
ShadelessFox
f58c0ea533
Fix BC6 block decoder 2022-07-18 22:24:40 +03:00
William Jacobs
9f9e26522e Fixed bug with rounding pixels to palette
This fixes a bug with rounding pixels to the nearest palette color. Specifically, there is a typo with computing the minimum distance from a palette color to a given cache box. This is causing palette colors to be incorrectly excluded from consideration.
2022-06-18 04:09:41 -04:00
Hugo van Kemenade
f7ec22f518
Merge pull request #6197 from radarhere/endian
Fixed behaviour change from endian fix
2022-06-10 19:02:54 +03:00
Hugo van Kemenade
38931c1e47
Merge pull request #6278 from radarhere/polygon
Fixed drawing translucent 1px high polygons
2022-06-04 09:34:37 +03:00
Hugo van Kemenade
37c642338b
Merge pull request #6337 from RedShy/p2pa_images_conversion
Fix "P"->"PA" image conversion
2022-06-01 22:17:55 +03:00
Andrew Murray
40a918d274 Set readcount to TIFF_VARIABLE for a variable number of values 2022-05-28 20:14:05 +10:00
Andrew Murray
71d6a7b14f
Merge pull request #6303 from radarhere/disconnected
Only try to connect discontiguous corners at the end of edges
2022-05-28 16:40:00 +10:00
Davide Consalvo
6a071f81d7 fixed p2pa conversion 2022-05-27 12:24:19 +02:00
Hugo van Kemenade
ef8cec6185
Merge pull request #6256 from radarhere/furthestV
Ensure that furthest v is set in quantize2
2022-05-17 20:04:50 +03:00
Andrew Murray
f0353c5996 When reading past the end of a scan line, reduce bytes left 2022-05-17 11:53:24 +03:00
Andrew Murray
62c7ee0f00 Only try to connect discontiguous corners at the end of edges 2022-05-16 22:31:49 +10:00
Yulv-git
a0fa540b0b Fix some typos. 2022-05-14 12:46:46 +08:00
Andrew Murray
c824ab048f Fixed drawing translucent 1px high polygons 2022-05-06 22:35:26 +10:00
Andrew Murray
44494a1171 Set furthestV to first v in case compute_distances does not assign it 2022-05-01 23:32:47 +10:00
Andrew Murray
b299d7cfc2 Simplified code by using unsigned int instead of union 2022-05-01 23:32:47 +10:00
Andrew Murray
950d0ad1d3 Fixed behaviour change from #5901 endian fix 2022-04-12 23:12:54 +10:00
Andrew Murray
ba5f2d75b5
Merge pull request #6167 from gmarkall/unpack-bgra16
Add support for unpacking 16-bit BGRA
2022-04-04 07:49:45 +10:00
Andrew Murray
29c122fe5d Updated BGRA comments 2022-04-02 22:00:49 +11:00
scaramallion
de26f78eb1 Add 'mct' and 'use_jp2' options for J2K saving 2022-03-31 22:13:17 +03:00
Graham Markall
e500dcfb97 Add support for unpacking 16-bit BGRA 2022-03-31 10:42:54 +01:00
Hugo van Kemenade
e60ca89721
Merge pull request #6150 from radarhere/gif 2022-03-30 23:23:59 +03:00
Hugo van Kemenade
f7169f9c93
Merge pull request #5980 from radarhere/polygon 2022-03-27 18:51:10 +03:00
Hugo van Kemenade
35e1932748
Merge pull request #5970 from radarhere/warnings 2022-03-27 18:43:38 +03:00
Andrew Murray
ce8c682748 Added setting to convert to RGB only at a different palette 2022-03-22 20:28:49 +11:00
Andrew Murray
ebdb47e693 Support reading I;16R TIFF images 2022-03-20 13:34:50 +11:00
Andrew Murray
6f128c4c39 Removed unused variable 2022-03-15 22:15:24 +11:00
Hugo van Kemenade
652542c770
Merge pull request #6112 from radarhere/i_i16_conversion
Clip I;16 to be unsigned, not signed
2022-03-10 19:56:45 +02:00
Andrew Murray
c8b69a78f3 Clip I;16 to be unsigned, not signed 2022-03-05 13:42:39 +11:00
Andrew Murray
7d3274518d Allow LA to be used as a mask in paste() 2022-03-01 21:05:42 +11:00
Andrew Murray
e2b007f0c2 Use transparency info key when converting to LA 2022-03-01 20:25:25 +11:00
Andrew Murray
0d729941a8 Handle packets that cross scan lines 2022-02-25 09:41:16 +11:00
Andrew Murray
17d342bc4b Simplified code as both values are 7 bit 2022-02-25 09:41:16 +11:00
Andrew Murray
7aa49741c6 Merge branch 'main' into getpalette 2022-02-20 23:52:20 +11:00
Andrew Murray
341802c2dc Removed unused argument 2022-02-19 10:50:07 +11:00
Hugo van Kemenade
1ec7be9a87
Merge pull request #6060 from radarhere/palette
Consider palette size when converting and in getpalette()
2022-02-18 23:31:56 +02:00
Hugo van Kemenade
0aca22e863
Merge pull request #6052 from radarhere/p2pa 2022-02-17 09:39:39 +02:00
Andrew Murray
852859476b Added rawmode argument to getpalette() 2022-02-17 10:15:03 +11:00
Andrew Murray
54cb09d8b4 When converting to P, restrict colors to palette size 2022-02-16 11:01:00 +11:00