v1.0.0-rc.114 (#20)
Some checks failed
Build Packages / build:rpm (rocky8_nocuda) (push) Successful in 10m25s
Build Packages / build:rpm (ubuntu2204_nocuda) (push) Successful in 10m33s
Build Packages / build:rpm (rocky9_nocuda) (push) Successful in 11m15s
Build Packages / build:rpm (ubuntu2404_nocuda) (push) Successful in 8m49s
Build Packages / Generate python client (push) Successful in 34s
Build Packages / Build documentation (push) Successful in 49s
Build Packages / build:rpm (ubuntu2204) (push) Successful in 9m38s
Build Packages / Create release (push) Has been skipped
Build Packages / build:rpm (rocky8_sls9) (push) Successful in 10m21s
Build Packages / build:rpm (rocky8) (push) Successful in 10m23s
Build Packages / build:rpm (rocky9) (push) Successful in 10m52s
Build Packages / build:rpm (ubuntu2404) (push) Successful in 10m32s
Build Packages / Unit tests (push) Has been cancelled

This is an UNSTABLE release and not recommended for production use (please use rc.111 instead).

* jfjoch_broker: Fix generating JPEG images with resolution estimation

Reviewed-on: #20
Co-authored-by: Filip Leonarski <filip.leonarski@psi.ch>
Co-committed-by: Filip Leonarski <filip.leonarski@psi.ch>
This commit was merged in pull request #20.
This commit is contained in:
2025-12-02 11:32:08 +01:00
committed by leonarski_f
parent 31a357fa57
commit 6d08310622
2 changed files with 11 additions and 1 deletions

View File

@@ -489,7 +489,12 @@ void JFJochBrokerHttp::image_buffer_image_jpeg_get(const std::optional<int64_t>
settings.saturation_value = saturation;
settings.background_value = 0.0;
settings.jpeg_quality = jpegQuality.value_or(100);
settings.resolution_ring = showResRing;
if (showResEst.value_or(false))
settings.show_res_est = true;
else {
settings.show_res_est = false;
settings.resolution_ring = showResRing;
}
settings.scale = ConvertColorScale(color);
settings.show_beam_center = showBeamCenter.value_or(true);
settings.format = PreviewImageFormat::JPEG;

View File

@@ -1,5 +1,10 @@
# Changelog
## 1.0.0
### 1.0.0-rc.114
This is an UNSTABLE release and not recommended for production use (please use rc.111 instead).
* jfjoch_broker: Fix generating JPEG images with resolution estimation
### 1.0.0-rc.113
This is an UNSTABLE release and not recommended for production use (please use rc.111 instead).