n8n-nodes-sudomock 0.14.0 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -293,6 +293,7 @@ Generate a mockup by filling smart objects with your designs.
293
293
  - **Export Options** (optional):
294
294
  - Image Format: WebP (recommended), PNG, or JPEG
295
295
  - Image Size: Width in pixels (100-10000, default 2048)
296
+ - PSD's Own Size and Resolution: render at the template's own width, with the resolution the PSD was saved with unless DPI is set
296
297
  - Quality: 1-100 for JPG/WebP
297
298
  - Export Label: Custom label for file naming
298
299
 
@@ -1289,6 +1289,13 @@ class SudoMock {
1289
1289
  default: 2048,
1290
1290
  description: 'Output width in pixels (100-10000). Height scales proportionally. Powers of 2 (1024, 2048, 4096) recommended.',
1291
1291
  },
1292
+ {
1293
+ displayName: "PSD's Own Size and Resolution",
1294
+ name: 'originalSize',
1295
+ type: 'boolean',
1296
+ default: false,
1297
+ description: "Whether to render at the PSD's own size and resolution: its own width, and the resolution it was saved with unless DPI is set. Image Size (Width) is not used when this is on.",
1298
+ },
1292
1299
  {
1293
1300
  displayName: 'Quality',
1294
1301
  name: 'quality',
@@ -2639,7 +2646,10 @@ class SudoMock {
2639
2646
  if (exportOptions.imageFormat) {
2640
2647
  expOpts.image_format = exportOptions.imageFormat;
2641
2648
  }
2642
- if (exportOptions.imageSize) {
2649
+ if (exportOptions.originalSize) {
2650
+ expOpts.image_size = 'original';
2651
+ }
2652
+ else if (exportOptions.imageSize) {
2643
2653
  expOpts.image_size = exportOptions.imageSize;
2644
2654
  }
2645
2655
  if (exportOptions.quality) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-sudomock",
3
- "version": "0.14.0",
3
+ "version": "0.15.0",
4
4
  "description": "n8n community node for SudoMock mockup rendering API - POD automation",
5
5
  "license": "MIT",
6
6
  "homepage": "https://sudomock.com",