@pixelfiddler/core 1.0.0 → 1.0.1
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 +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -127,7 +127,7 @@ createResponsiveAttributes('/photo.jpg', 'https://cdn.example.com', {
|
|
|
127
127
|
width: 800, // Target width (px)
|
|
128
128
|
height: 600, // Target height (px)
|
|
129
129
|
dpr: 2, // Device pixel ratio (1-4)
|
|
130
|
-
mode: 'FIT', // 'FILL' | 'FIT' | 'PAD'
|
|
130
|
+
mode: 'FIT', // 'FILL' | 'FIT' | 'PAD'
|
|
131
131
|
background: '#ffffff' // Background color for PAD mode
|
|
132
132
|
}
|
|
133
133
|
```
|
package/dist/index.d.cts
CHANGED
|
@@ -79,7 +79,7 @@ type ObjectValue<T> = T[keyof T];
|
|
|
79
79
|
/**
|
|
80
80
|
* Resize mode for image transformations
|
|
81
81
|
*/
|
|
82
|
-
type ResizeMode = 'FILL' | 'FIT' | 'PAD'
|
|
82
|
+
type ResizeMode = 'FILL' | 'FIT' | 'PAD';
|
|
83
83
|
/**
|
|
84
84
|
* Output image format - null or empty means AUTO
|
|
85
85
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -79,7 +79,7 @@ type ObjectValue<T> = T[keyof T];
|
|
|
79
79
|
/**
|
|
80
80
|
* Resize mode for image transformations
|
|
81
81
|
*/
|
|
82
|
-
type ResizeMode = 'FILL' | 'FIT' | 'PAD'
|
|
82
|
+
type ResizeMode = 'FILL' | 'FIT' | 'PAD';
|
|
83
83
|
/**
|
|
84
84
|
* Output image format - null or empty means AUTO
|
|
85
85
|
*/
|