ras: code revamped

- Progressive load from file
- Added support for 1-bit image
- Images with palette are now Index (instead of RGB32)
- Added options support (Size, Format)
- Added some test cases
- Improved performance by directly accessing the scanline
- Support for more RAS extension (taken from GIMP)

The code should works "as is" also on KF5.
This commit is contained in:
Mirco Miranda
2023-08-28 18:02:02 +00:00
committed by Albert Astals Cid
parent 7d63a1d8fa
commit 79e8e183eb
11 changed files with 185 additions and 124 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
{
"Keys": [ "ras" ],
"MimeTypes": [ "image/x-sun-raster" ]
"Keys": [ "im1", "im8", "im24", "im32", "ras", "sun" ],
"MimeTypes": [ "image/x-sun-raster", "image/x-sun-raster", "image/x-sun-raster", "image/x-sun-raster", "image/x-sun-raster", "image/x-sun-raster" ]
}