Skip to content

PhotoCraft: An open-source, photo editor written by scratch in pure Rust

Merge upstream/main 6d8cbac7 into the Smart Filters branch

abc2cb6da0673cd1d5
diff --cc crates/ui-egui/src/filter_dialog.rs
index 18769f437,f8bc91c23..a03204c2e
--- a/crates/ui-egui/src/filter_dialog.rs
+++ b/crates/ui-egui/src/filter_dialog.rs
@@@ -995,6 -1063,14 +1082,13 @@@ pub(crate) fn preview_document_for_targ
s.set_inline_job_ctx(cancel.cloned());
let doc_id = proxy.id;
s.add_document(proxy, None);
- let mut p = params.clone();
+ // Bitmap's Output resolution resamples the image: the preview keeps the canvas's size and
+ // resolution, so its dots and halftone screen show at their printed size (#5559).
+ if command == crate::bitmap_dialog::COMMAND
+ && let Some(o) = p.as_object_mut()
+ {
+ o.remove("resolution");
+ }
add_source_documents(&mut s, doc_id, command, &mut p, documents, run_k);
if let Some(id) = active {
s.select_layer(id).ok()?;
diff --cc crates/ui-egui/src/i18n/hu.tsv
index af245ea6c,fe21a5fbf..596afb7e0
--- a/crates/ui-egui/src/i18n/hu.tsv
+++ b/crates/ui-egui/src/i18n/hu.tsv
@@@ -4123,15 -4139,18 +4139,27 @@@ cameraRaw Yellow Sárg
There are too many sets: delete one first. Túl sok készlet van: előbb töröljön egyet.
set name készlet neve
{set} (modified) {set} (módosítva)
+ Show file name in title Fájlnév megjelenítése a címben
+
+ # Image › Mode › Bitmap (#5559)
+ 50% Threshold 50%-os küszöb
+ Pattern Dither Mintázatos keverés
+ Diffusion Dither Diffúziós keverés
+ Halftone Screen Féltónusrács
+ Custom Pattern Egyéni mintázat
+ Frequency: Gyakoriság:
+ Lines/Inch Vonal/hüvelyk
+ Lines/Centimeter Vonal/centiméter
+ Ellipse Ellipszis
+
+# Layers panel options and Smart Filter editors
+ Blending Options ({filter}) Keverési beállítások ({filter})
+ Hide the layer's effects and Smart Filters ({key}-click: all layers) A réteg effektusainak és intelligens szűrőinek elrejtése ({key}+kattintás: minden réteg)
+ Opacity must be between 0% and 100%. Az átlátszatlanságnak 0% és 100% között kell lennie.
+ Dissolve is approximated: it blends without Photoshop's dither. A Szétszórás csak közelítés: a Photoshop raszterezése nélkül keveredik.
+ Show the layer's effects and Smart Filters ({key}-click: all layers) A réteg effektusainak és intelligens szűrőinek megjelenítése ({key}+kattintás: minden réteg)
+ The document or Smart Filter changed. Reopen its dialog. A dokumentum vagy az intelligens szűrő megváltozott. Nyisd meg újra a párbeszédablakát.
+ Wait for the current job to finish. Várd meg, amíg az aktuális feladat befejeződik.
Accept and Go to Conflict Elfogadás és ugrás az ütközéshez
Changes undone. Változások visszavonva.
Choose a new shortcut for this command, or leave it without one. Válasszon új billentyűparancsot ehhez a parancshoz, vagy hagyja nélküle.
diff --cc crates/ui-egui/src/i18n/sr.tsv
index d7a949b0c,2b02f33bc..63a322c19
--- a/crates/ui-egui/src/i18n/sr.tsv
+++ b/crates/ui-egui/src/i18n/sr.tsv
@@@ -4277,15 -4293,18 +4293,27 @@@ shape Appearance Izgle
There are too many sets: delete one first. Previše skupova: prvo obrišite jedan.
set name ime skupa
{set} (modified) {set} (izmenjen)
+ Show file name in title Prikaži naziv datoteke u naslovu
+
+ # Image › Mode › Bitmap (#5559)
+ 50% Threshold Prag 50%
+ Pattern Dither Dither šarom
+ Diffusion Dither Difuzni dither
+ Halftone Screen Polutonski raster
+ Custom Pattern Prilagođena šara
+ Frequency: Frekvencija:
+ Lines/Inch Linija/inč
+ Lines/Centimeter Linija/centimetar
+ Ellipse Elipsa
+
+# Smart Filter editors
+ Blending Options ({filter}) Opcije stapanja ({filter})
+ Hide the layer's effects and Smart Filters ({key}-click: all layers) Sakrij efekte i pametne filtere sloja ({key}-klik: svi slojevi)
+ Opacity must be between 0% and 100%. Neprozirnost mora biti između 0% i 100%.
+ Dissolve is approximated: it blends without Photoshop's dither. Rastapanje je približno: mešanje se vrši bez diteringa programa Photoshop.
+ Show the layer's effects and Smart Filters ({key}-click: all layers) Prikaži efekte i pametne filtere sloja ({key}-klik: svi slojevi)
+ The document or Smart Filter changed. Reopen its dialog. Dokument ili pametni filter se promenio. Ponovo otvorite njegov dijalog.
+ Wait for the current job to finish. Sačekajte da se trenutni posao završi.
Accept and Go to Conflict Prihvati i idi na sukob
Changes undone. Izmene su poništene.
Choose a new shortcut for this command, or leave it without one. Izaberite novu prečicu za ovu komandu ili je ostavite bez prečice.
diff --cc crates/ui-egui/src/i18n/tr.tsv
index 6915de224,d3f6faf4a..ddd6181ef
--- a/crates/ui-egui/src/i18n/tr.tsv
+++ b/crates/ui-egui/src/i18n/tr.tsv
@@@ -3934,15 -3950,18 +3950,27 @@@ cameraData Lens Len
There are too many sets: delete one first. Çok fazla küme var: önce birini silin.
set name küme adı
{set} (modified) {set} (değiştirildi)
+ Show file name in title Başlıkta dosya adını göster
+
+ # Image › Mode › Bitmap (#5559)
+ 50% Threshold %50 Eşik
+ Pattern Dither Desen Titreklik
+ Diffusion Dither Difüzyon Titreklik
+ Halftone Screen Yarım Ton Tarama
+ Custom Pattern Özel Desen
+ Frequency: Frekans:
+ Lines/Inch Çizgi/İnç
+ Lines/Centimeter Çizgi/Santimetre
+ Ellipse Elips
+
+# Layers panel options and Smart Filter editors
+ Blending Options ({filter}) Karışım Seçenekleri ({filter})
+ Hide the layer's effects and Smart Filters ({key}-click: all layers) Katmanın efektlerini ve Akıllı Filtrelerini gizle ({key}-tık: tüm katmanlar)
+ Opacity must be between 0% and 100%. Opaklık %0 ile %100 arasında olmalıdır.
+ Dissolve is approximated: it blends without Photoshop's dither. Eritme yaklaşık olarak uygulanır: Photoshop'un dither'ı olmadan karıştırır.
+ Show the layer's effects and Smart Filters ({key}-click: all layers) Katmanın efektlerini ve Akıllı Filtrelerini göster ({key}-tık: tüm katmanlar)
+ The document or Smart Filter changed. Reopen its dialog. Belge veya Akıllı Filtre değişti. İletişim kutusunu yeniden açın.
+ Wait for the current job to finish. Geçerli işin bitmesini bekleyin.
Accept and Go to Conflict Kabul Et ve Çakışmaya Git
Changes undone. Değişiklikler geri alındı.
Choose a new shortcut for this command, or leave it without one. Bu komut için yeni bir kısayol seçin veya kısayolsuz bırakın.
diff --cc crates/ui-egui/src/i18n/vi.tsv
index 38fb679ba,efba5ce8c..725f6a063
--- a/crates/ui-egui/src/i18n/vi.tsv
+++ b/crates/ui-egui/src/i18n/vi.tsv
@@@ -3690,15 -3710,18 +3710,27 @@@ curves Smooth Làm mượ
There are too many sets: delete one first. Có quá nhiều bộ: hãy xóa một bộ trước.
set name tên bộ
{set} (modified) {set} (đã sửa đổi)
+ Show file name in title Hiển thị tên tệp trong tiêu đề
+
+ # Image › Mode › Bitmap (#5559)
+ 50% Threshold Ngưỡng 50%
+ Pattern Dither Hòa sắc họa tiết
+ Diffusion Dither Hòa sắc khuếch tán
+ Halftone Screen Màn bán sắc
+ Custom Pattern Họa tiết tùy chỉnh
+ Frequency: Tần số:
+ Lines/Inch Đường/inch
+ Lines/Centimeter Đường/centimet
+ Ellipse Elip
+
+# Layers panel options and Smart Filter editors
+ Blending Options ({filter}) Tùy chọn hòa trộn ({filter})
+ Hide the layer's effects and Smart Filters ({key}-click: all layers) Ẩn hiệu ứng và bộ lọc thông minh của lớp ({key}-bấm: tất cả các lớp)
+ Opacity must be between 0% and 100%. Độ mờ phải nằm trong khoảng từ 0% đến 100%.
+ Dissolve is approximated: it blends without Photoshop's dither. Hoà tan chỉ được mô phỏng gần đúng: hòa trộn không có dither của Photoshop.
+ Show the layer's effects and Smart Filters ({key}-click: all layers) Hiện hiệu ứng và bộ lọc thông minh của lớp ({key}-bấm: tất cả các lớp)
+ The document or Smart Filter changed. Reopen its dialog. Tài liệu hoặc bộ lọc thông minh đã thay đổi. Hãy mở lại hộp thoại của nó.
+ Wait for the current job to finish. Hãy chờ tác vụ hiện tại hoàn tất.
Accept and Go to Conflict Chấp nhận và đến xung đột
Changes undone. Đã hoàn tác thay đổi.
Choose a new shortcut for this command, or leave it without one. Chọn phím tắt mới cho lệnh này, hoặc để lệnh không có phím tắt.