Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix png jpeg export (#25110)

znnebbb4a5d0be2
diff --git a/web/app/components/workflow/operator/export-image.tsx b/web/app/components/workflow/operator/export-image.tsx
index d14014ed1e2..5aac0498627 100644
--- a/web/app/components/workflow/operator/export-image.tsx
+++ b/web/app/components/workflow/operator/export-image.tsx
@@ -97,7 +97,8 @@ const ExportImage: FC = () => {
style: {
width: `${contentWidth}px`,
height: `${contentHeight}px`,
- transform: `translate(${padding - nodesBounds.x}px, ${padding - nodesBounds.y}px) scale(${zoom})`,
+ transform: `translate(${padding - nodesBounds.x}px, ${padding - nodesBounds.y}px)`,
+ transformOrigin: 'top left',
},
}