Skip to content

Commit eeb0454

Browse files
Add tests for file writers
- Add support in the test app for comparing files. - Add reference image files - Fix a bug in JpegWriter, when writing 1-bit images
1 parent 482bb24 commit eeb0454

28 files changed

+788
-6
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
### Added
1111

1212
- Ability to update the presets.
13+
- Tests for the image writers.
1314

1415
### Changed
1516

@@ -23,6 +24,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2324
- Cancel Scans button from the scan list section now can cancel the preview scan.
2425
- PNG writer is now working.
2526
- Various crashes with the SANE test backend have been fixed.
27+
- Fixed a bug when writing 1-bit image to JPEG file.
2628

2729

2830
## [0.1.0] - 2025-05-24

build-aux/appimage/build_appimage.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ meson install --destdir ../"${app_dir}"
4040

4141
cd ../"${app_dir}" || exit
4242
rm -f usr/bin/gorfector-tests
43+
rm -rf usr/share/com.patrickfournier.gorfector/Tests
4344
mv usr/share/metainfo/com.patrickfournier.gorfector.metainfo.xml usr/share/metainfo/com.patrickfournier.gorfector.appdata.xml
4445

4546
cd ..
1.56 KB
Loading
750 Bytes
Loading
10 KB
Loading
1.56 KB
Loading
750 Bytes
Loading
980 Bytes
Loading
401 Bytes
Loading
185 Bytes
Loading

0 commit comments

Comments
 (0)