Closed Jiyone closed 1 month ago
This is what I get with -d imageio
[dt_imageio_export_with_flags] rawprepare temperature demosaic denoiseprofile lens flip crop colorin channelmixerrgb negadoctor colorout finalscale dither gamma (14)
30.785576 [dt_imageio_export] (direct) imgid 3090, hq 0, pipe 7182x4920, range 0x0 --> size 0x0 / 0x0 - ratio 1.45976
[pixelpipe_process_on_CPU] Warning: processes `dither' even if memory requirements are not met
[pixelpipe_process_on_CPU] Warning: processes `gamma' even if memory requirements are not met
Empty JPEG image (DNL not supported)
[imageio_storage_disk] could not export to file: `/home/jiyone/Images/Ansel/2024/2024.08 Diapo surex/_DSC1898_01.jpg'!
This happens in https://github.com/aurelienpierreeng/ansel/commit/85f2b8b15fe2081634c6f2c3f96b5d430e045bf0, let me try to find the reason.
This only happens if you use scaling factor to export an image.
The reason is when using scaling factor to export, it will also ensure the final size won't exceed max size (which is wired because those settings in UI looks independent), and if your max_width/height is 0, you'll get 0...
Please try https://github.com/aurelienpierreeng/ansel/pull/368 to see whether it fixes this bug and help find bugs in it.
Code of Conduct
Search previous report
Computer's operating system
Linux
What GPU do you have ?
I don't know
Ansel version
85f2b8b15f
Type of binary
Self-Compiled
What happened?
When exporting as jpg, a file of 0 byte is created and there is an error message showing:
It seems to produce error to all type of files, Tiff files contains only 11.7 Kb, this might be because of initialization of the exporting image at a 0 size.
Bisecting shows that the first bad commit is 85f2b8b.
Does your problem occur with OpenCL enabled ?
No
Does your problem occur with OpenCL disabled ?
No
Previous Ansel version that use to work
8dca9131aa86c6931b9d1db05ef5c70822b91bcf
Output of ansel -d all
Backtrace