Skip to content

Commit fe6809a

Browse files
committed
improve inpainting & add v1.5.3 changelog for Flatpak
1 parent eb9f303 commit fe6809a

2 files changed

Lines changed: 22 additions & 3 deletions

File tree

data/io.github.CyberTimon.RapidRAW.metainfo.xml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,25 @@
3838
<url type="homepage">https://github.com/CyberTimon/RapidRAW</url>
3939

4040
<releases>
41+
<release version="v1.5.3" date="2026-04-01">
42+
<url type="details">https://github.com/CyberTimon/RapidRAW/releases/tag/v1.5.3</url>
43+
<description translate="no">
44+
<p>New Features</p>
45+
<ul>
46+
<li>Depth Masking: Create masks based on how far objects are from the camera. Useful for faking background blur, adding lights that blend naturally into the scene, or isolating subjects at a certain distance.</li>
47+
<li>Quick Inpainting: A new local inpainting model that does a much better job at removing unwanted objects. Runs on device and does not require the RapidRAW-AI-Connector.</li>
48+
<li>Library Performance: Rewrote large parts of the library loading code. Thumbnails are now only rendered when visible on screen, making large libraries feel much snappier. Also added a flat list view as a new thumbnail mode.</li>
49+
<li>ROI Rendering Improvements: Smoother rendering while zoomed in, plus a new dropdown to pick your preferred quality level for live previews.</li>
50+
</ul>
51+
<p>Core Improvements</p>
52+
<ul>
53+
<li>Updated keyboard shortcuts for masking, especially for the brush tool.</li>
54+
<li>Color gradient for the temperature and tint slider track.</li>
55+
<li>Improved loading spinner to show actual progress when applying batch adjustments.</li>
56+
<li>Various bug fixes under the hood.</li>
57+
</ul>
58+
</description>
59+
</release>
4160
<release version="v1.5.2" date="2026-03-19">
4261
<url type="details">https://github.com/CyberTimon/RapidRAW/releases/tag/v1.5.2</url>
4362
<description translate="no">

src-tauri/src/ai_processing.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -799,8 +799,8 @@ pub fn run_lama_inpainting(
799799
let mask_w = max_x - min_x + 1;
800800
let mask_h = max_y - min_y + 1;
801801

802-
let pad_x = 64.max((mask_w as f32 * 0.5) as u32);
803-
let pad_y = 64.max((mask_h as f32 * 0.5) as u32);
802+
let pad_x = 128.max((mask_w as f32 * 1.5) as u32);
803+
let pad_y = 128.max((mask_h as f32 * 1.5) as u32);
804804

805805
let x0 = min_x.saturating_sub(pad_x);
806806
let y0 = min_y.saturating_sub(pad_y);
@@ -815,7 +815,7 @@ pub fn run_lama_inpainting(
815815
let cropped_img = imageops::crop_imm(&rgba, x0, y0, crop_w, crop_h).to_image();
816816
let cropped_mask = imageops::crop_imm(mask, x0, y0, crop_w, crop_h).to_image();
817817

818-
let max_dim_limit: u32 = 1024;
818+
let max_dim_limit: u32 = 768;
819819
let needs_downscale = crop_w > max_dim_limit || crop_h > max_dim_limit;
820820

821821
let (fw, fh, inf_img, inf_mask) = if needs_downscale {

0 commit comments

Comments
 (0)