Push ImageInputStream into DDSReader

Unable to determine buffer length (so as a hack I over allocate buffer and read)

```
byte[] buffer = new byte[width * height * 4];
int len = imageInput.read(buffer);
```

Added test files for all supported formats.
This commit is contained in:
Paul Allen
2024-09-17 16:37:11 +01:00
parent 120d6eba54
commit 0cd056ac54
35 changed files with 118 additions and 69 deletions
+1
View File
@@ -16,3 +16,4 @@ profiles.xml
Thumbs.db
.DS_Store
/.metadata/
.run/