gemini feat: optimize drawing performance by caching layer styles during strokes and improve UI/UX for layer styles and menus, improved drop shadow

This commit is contained in:
2026-07-13 14:37:22 +03:00
parent 356fac571d
commit 2284a7d81f
50 changed files with 777 additions and 239 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ use image;
fn main() {
// Load PSD
let psd_path = "/home/hc/Pictures/_test_images/example3/Example3-mini.psd";
let psd_path = "_images/_test_images/example3/Example3-mini.psd";
let layers: Vec<hcie_protocol::Layer> = match hcie_psd::import_psd(std::path::Path::new(psd_path)) {
Ok(l) => l,
Err(e) => {
@@ -234,7 +234,7 @@ fn main() {
println!("Saved composite to {}", out_path);
// Diff against reference PNG
let ref_path = "/home/hc/Pictures/_test_images/example3/Example3-mini.png";
let ref_path = "_images/_test_images/example3/Example3-mini.png";
if std::path::Path::new(ref_path).exists() {
let ref_img = image::open(ref_path).unwrap().to_rgba8();
let ref_pixels = ref_img.as_raw();