+
+
-
- Original Size
-
- {imageMetadata.width} × {imageMetadata.height}
-
-
-
-
+
+
+ Original Size
+
+ {imageMetadata.width} × {imageMetadata.height}
+
+
-
- option.charAt(0).toUpperCase() + option.slice(1)
- }
- />
+
-
-
-
+ option.charAt(0).toUpperCase() + option.slice(1)
+ }
/>
-
+
+
+
+
+
+
);
}
diff --git a/src/app/(tools)/square-image/square-tool.tsx b/src/app/(tools)/square-image/square-tool.tsx
index 8264309..a1b9341 100644
--- a/src/app/(tools)/square-image/square-tool.tsx
+++ b/src/app/(tools)/square-image/square-tool.tsx
@@ -79,60 +79,65 @@ function SquareToolCore(props: { fileUploaderProps: FileUploaderResult }) {
}
return (
-
-
+
+
{squareImageContent && (
-

+

)}
{imageMetadata.name}
-
-
-
-
Original
-
- {imageMetadata.width} × {imageMetadata.height}
-
+
+
+
+ Original
+
+ {imageMetadata.width} × {imageMetadata.height}
+
+
+
+
+ Square Size
+
+ {Math.max(imageMetadata.width, imageMetadata.height)} ×{" "}
+ {Math.max(imageMetadata.width, imageMetadata.height)}
+
+
-
-
Square Size
-
- {Math.max(imageMetadata.width, imageMetadata.height)} ×{" "}
- {Math.max(imageMetadata.width, imageMetadata.height)}
-
+
+ option.charAt(0).toUpperCase() + option.slice(1)
+ }
+ />
+
+
+
+
-
-
-
- option.charAt(0).toUpperCase() + option.slice(1)
- }
- />
-
-
-
-
-
+
);
}
diff --git a/src/app/(tools)/svg-to-png/svg-tool.tsx b/src/app/(tools)/svg-to-png/svg-tool.tsx
index 137d778..cffdec4 100644
--- a/src/app/(tools)/svg-to-png/svg-tool.tsx
+++ b/src/app/(tools)/svg-to-png/svg-tool.tsx
@@ -161,57 +161,58 @@ function SVGToolCore(props: { fileUploaderProps: FileUploaderResult }) {
);
return (
-
+
{/* Preview Section */}
-
+
-
- {/* Size Information */}
-
-
-
Original
-
- {imageMetadata.width} × {imageMetadata.height}
-
+
+ {/* Size Information */}
+
+
+ Original
+
+ {imageMetadata.width} × {imageMetadata.height}
+
+
+
+
+ Scaled
+
+ {imageMetadata.width * effectiveScale} ×{" "}
+ {imageMetadata.height * effectiveScale}
+
+
-
- Scaled
-
- {imageMetadata.width * effectiveScale} ×{" "}
- {imageMetadata.height * effectiveScale}
-
-
-
-
- {/* Scale Controls */}
-
-
- {/* Action Buttons */}
-
-
-
-
+
+ {/* Action Buttons */}
+
+
+
+
+
);
}