6 Commits

Author SHA1 Message Date
e3bc40fdf3 chore: Migration to Dart 3.8 (#6668)
* Migration to Dart 3.8

* New GA

* Fix dartdoc
2025-06-23 18:14:17 +02:00
a7a99909a9 feat: 5952 - better image compression for Prices (#6048)
Impacted files:
* `image_compute_container.dart`: added the compression quality parameter
* `background_task_image.dart`: added the compression quality and force quality parameters; same parameters as before for OxF images (quality 100, no forced compression for non cropped images)
* `background_task_add_price.dart`: always compress the proof image, with quality 80
2024-12-20 16:19:31 +01:00
d05bbd74d9 fix: 4304 - save images as async instead of isolate (fallback) (#4323) 2023-07-16 20:03:32 +02:00
2db67702ca fix: 4074 - added explicit isolate/ui settings (#4080)
* fix: 4074 - added explicit isolate/ui settings

Impacted files:
* `image_compute_container.dart`: added explicit isolate/ui settings
* `offline_tasks_page.dart`: added a "refresh" button on the app bar

* fix: 4074 - typo
2023-06-05 22:50:35 +02:00
1af41f27ff fix: 3964 - text messages instead of circular indicator for crop page + isolate (#3965)
Impacted files:
* `app_en.arb`: added 5 labels for the action progress on crop page
* `background_task_image.dart`: minor refactoring
* `crop_page.dart`: displays a text instead of a stuttering circular progress indicator; minor refatoring
* `image_compute_container.dart`: now using `compute` as much as possible - still not possible for `ui`
2023-05-18 18:14:07 +02:00
2115b8b652 feat: 3765 - now using the "crop_image" package (#3926)
* feat: 3765 - now using the "crop_image" package

Deleted files:
* `crop_grid.dart`
* `rotated_crop_controller.dart`
* `rotated_crop_image.dart`
* `rotation.dart`

Impacted files:
* `background_task_image.dart`: minor refactoring
* `crop_page.dart`: renamed and moved; now using the `crop_image` package
* `image_compute_container.dart`: renamed and moved; refactored
* `image_crop_page.dart`: minor refactoring
* `product_image_viewer.dart`: minor refactoring
* `pubspec.lock`: wtf
* `pubspec.yaml`: added `crop_image`, upgraded `image` and related packages
* `uploaded_image_gallery.dart`: minor refactoring

* feat: 3765 - now using the CropController.getCroppedBitmap method

Impacted files:
* `background_task_image.dart`: minor refactoring
* `image_compute_container.dart`: removed code that is now in `CropController`
* `pubspec.lock`: wtf
* `pubspec.yaml`: upgraded `crop_image`
2023-05-02 07:29:04 +02:00