{"versions":{"0.0.0-stage":{"name":"@jimp/plugin-border","version":"0.0.0-stage","_id":"@jimp/plugin-border@0.0.0-stage","stub":true,"maintainers":[{"name":"anonymous","email":"lisowski54@gmail.com"}],"dist":{"shasum":"5d321ba3470fca9c59b64defe70936b8b828d746","tarball":"http://123.232.10.234:8212/nexus/content/repositories/npm-private/@jimp/plugin-border/-/plugin-border-0.0.0-stage.tgz","fileCount":2,"integrity":"sha512-piClghntobwOy0b2D5Us/EGbP7G1b7EVUUUhNGJ1JCv5V3fN/Z53S8IXWZKdRgGGauF7AZBeZq38FAsV94jnwQ==","signatures":[{"sig":"MEUCIG/ogkjsaT0e9jDdonvLFA0Q8HmgEPpfT4Mcrh1yxbhWAiEA9LUvbQEtIsGw+nL6IVOutC/UL/MpjS2Ivnu976+nyh8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":341,"size":371},"_npmUser":{"name":"anonymous","email":"lisowski54@gmail.com"},"description":"Temporary package placeholder for staged publishing","directories":{},"_cnpmcore_publish_time":"2026-11-24T04:51:30.456Z","publish_time":1795495890456,"_hasShrinkwrap":false,"_source_registry_name":"default","contributors":[]},"2.0.0":{"_id":"@jimp/plugin-border@2.0.0","bugs":{"url":"https://github.com/jimp-dev/jimp/issues"},"dist":{"shasum":"7ef5ed8f526062509d2f8ff942e8ce6887bd5586","tarball":"http://123.232.10.234:8212/nexus/content/repositories/npm-private/@jimp/plugin-border/-/plugin-border-2.0.0.tgz","fileCount":29,"integrity":"sha512-c6RMSP9c/VX6aHHDfu5OcXJyILOGpKCY3Udpr4oLcTBVWPFMzv9aRGUT1zGD7IJcNFhhkTyAuEYypPpTiO9jew==","signatures":[{"sig":"MEYCIQCZb4U9TIO3LXcmbX8yts8pg1eL91/oc4164mS6q2pKRQIhAOqEvW+gxArojVzAY3ZzqEAGjTSo8sPFxZ5yARYIEHgm","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC34zGGsjqEikJx9ZarNvxKhRW0ngUxX7KFFhlFeelLbgIgVMe3YmqjIMa2KYrVpYp+oh8ir5bKc/PuS8Am5tZ00UI="}],"unpackedSize":2350981,"size":2199289},"main":"./dist/commonjs/index.js","name":"@jimp/plugin-border","tshy":{"exclude":["**/*.test.ts"],"exports":{".":"./src/index.ts","./package.json":"./package.json"}},"type":"module","types":"./dist/commonjs/index.d.ts","author":{"name":"Andrew Lisowski","email":"lisowski54@gmail.com"},"module":"./dist/esm/index.js","engines":{"node":">=22"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},"./package.json":"./package.json"},"gitHead":"a0c6199088b0a3f28162a1742c9714b285dd194a","license":"MIT","scripts":{"dev":"tshy --watch","lint":"eslint .","test":"vitest","build":"tshy","clean":"rimraf node_modules .tshy .tshy-build dist .turbo","test:browser":"vitest --config vitest.config.browser.mjs"},"version":"2.0.0","_npmUser":{"name":"anonymous","email":"lisowski54@gmail.com"},"homepage":"https://github.com/jimp-dev/jimp#readme","repository":{"url":"git+https://github.com/jimp-dev/jimp.git","type":"git"},"_npmVersion":"lerna/10.1.3/node@v24.15.0+arm64 (darwin)","description":"<div align=\"center\">   <img width=\"200\" height=\"200\"     src=\"https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png\">   <h1>@jimp/plugin-border</h1>   <p>Rounded corners, borders and box shadows.</p> </div>","directories":{},"maintainers":[{"name":"anonymous","email":"lisowski54@gmail.com"},{"name":"anonymous","email":"oliver@nth-iteration.ie"}],"sideEffects":false,"_nodeVersion":"24.15.0","dependencies":{"zod":"^4.6.7","buffer":"^6.0.3","@jimp/types":"2.0.0","@jimp/utils":"2.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tshy":"~4.0.0","eslint":"^10.15.0","vitest":"^5.1.1","@jimp/core":"2.0.0","typescript":"^7.0.2","@types/node":"^22.20.5","@jimp/js-png":"2.0.0","@jimp/js-jpeg":"2.0.0","@vitest/browser":"^5.1.1","@jimp/test-utils":"2.0.0","@jimp/config-eslint":"2.0.0","@jimp/config-vitest":"2.0.0","@jimp/config-typescript":"2.0.0","vite-plugin-node-polyfills":"^0.28.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plugin-border_2.0.0_1795496321547_0.02124196432697767"},"_cnpmcore_publish_time":"2026-11-24T04:58:41.710Z","publish_time":1795496321710,"_source_registry_name":"default","contributors":[]},"2.1.0":{"_id":"@jimp/plugin-border@2.1.0","bugs":{"url":"https://github.com/jimp-dev/jimp/issues"},"dist":{"shasum":"1ac1ca2d883df368d61ee074fd2c9f05c07f0b8b","tarball":"http://123.232.10.234:8212/nexus/content/repositories/npm-private/@jimp/plugin-border/-/plugin-border-2.1.0.tgz","fileCount":29,"integrity":"sha512-y6DHZvMdvpvpbOmM2svl6vK3VH8lWrCSej+5Niy8J60ffGsyvQ+gbjz/Zi3Bakktx8zLvahZng83avUswjnHvA==","signatures":[{"sig":"MEYCIQCC3hhy6sN1GH7Mw6slG5h5qCwbWYuGK7kiV3H3FKUDuwIhAOyZEkjLJOy9hV9435KD/H6gMpN7RVoLuYcESEi5AuIV","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC171gr4p4JzfYNG9JrsjWWS9+4zxNt6GugOb+wNvaGtQIgax1Ir6ANlNiB7r1OzWlMGUMcc81cMw1olS6aH2bffvI="}],"unpackedSize":2351291,"size":2199327},"main":"./dist/commonjs/index.js","name":"@jimp/plugin-border","tshy":{"exclude":["**/*.test.ts"],"exports":{".":"./src/index.ts","./package.json":"./package.json"}},"type":"module","types":"./dist/commonjs/index.d.ts","author":{"name":"Andrew Lisowski","email":"lisowski54@gmail.com"},"module":"./dist/esm/index.js","engines":{"node":">=22"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},"./package.json":"./package.json"},"gitHead":"8346e2329163e0c3ee26aaf8fe1001bac8b25a21","license":"MIT","scripts":{"dev":"tshy --watch","lint":"eslint .","test":"vitest","build":"tshy","clean":"rimraf node_modules .tshy .tshy-build dist .turbo","test:browser":"vitest --config vitest.config.browser.mjs"},"version":"2.1.0","_npmUser":{"name":"anonymous","email":"lisowski54@gmail.com"},"homepage":"https://github.com/jimp-dev/jimp#readme","repository":{"url":"git+https://github.com/jimp-dev/jimp.git","type":"git"},"_npmVersion":"lerna/10.1.3/node@v24.15.0+arm64 (darwin)","description":"<div align=\"center\">   <img width=\"140\" alt=\"\"     src=\"https://raw.githubusercontent.com/jimp-dev/jimp/main/.github/assets/jimpy.png\">   <h1>@jimp/plugin-border</h1>   <p>Rounded corners, borders and box shadows.</p> </div>","directories":{},"maintainers":[{"name":"anonymous","email":"lisowski54@gmail.com"},{"name":"anonymous","email":"oliver@nth-iteration.ie"}],"sideEffects":false,"_nodeVersion":"24.15.0","dependencies":{"zod":"^4.6.7","buffer":"^6.0.3","@jimp/types":"2.1.0","@jimp/utils":"2.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tshy":"~4.0.0","eslint":"^10.15.0","vitest":"^5.1.1","@jimp/core":"2.1.0","typescript":"^7.0.2","@types/node":"^22.20.5","@jimp/js-png":"2.1.0","@jimp/js-jpeg":"2.1.0","@vitest/browser":"^5.1.1","@jimp/test-utils":"2.1.0","@jimp/config-eslint":"2.1.0","@jimp/config-vitest":"2.1.0","@jimp/config-typescript":"2.1.0","vite-plugin-node-polyfills":"^0.28.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plugin-border_2.1.0_1795562853239_0.34490907168948226"},"_cnpmcore_publish_time":"2026-11-24T23:27:33.411Z","publish_time":1795562853411,"_source_registry_name":"default","contributors":[]},"2.2.0":{"_id":"@jimp/plugin-border@2.2.0","bugs":{"url":"https://github.com/jimp-dev/jimp/issues"},"dist":{"shasum":"094b0386d6bc80f428f622f34d45442ff2de493b","tarball":"http://123.232.10.234:8212/nexus/content/repositories/npm-private/@jimp/plugin-border/-/plugin-border-2.2.0.tgz","fileCount":29,"integrity":"sha512-+TThA/BWxjXZjYeu+6M06g3dzjv2LjKX1ytj/4j4QZA3B2CLJ9lbVs/1UDdo8R6oKmfacTeKTI1V+w/KbWO9jg==","signatures":[{"sig":"MEQCIDmUEj9y8L+4Qpgq2YakBAF7XUM2eCkilc+U0YjhKrBpAiBchV2BmfGlX3n65Ncn1krC6iUF3m+YRPPwQyrFhg9tWg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDXkfZBxx3pM39JbRCx5kCkwRcRYL4MXrkVGEkhCD7dsAIhAO6KCPsUI5Pg2yK3LYm5fX+5CUbzib72drxin0Ah8AWh"}],"unpackedSize":2351291,"size":2199327},"main":"./dist/commonjs/index.js","name":"@jimp/plugin-border","tshy":{"exclude":["**/*.test.ts"],"exports":{".":"./src/index.ts","./package.json":"./package.json"}},"type":"module","types":"./dist/commonjs/index.d.ts","author":{"name":"Andrew Lisowski","email":"lisowski54@gmail.com"},"module":"./dist/esm/index.js","engines":{"node":">=22"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},"./package.json":"./package.json"},"gitHead":"3308bdef5bcf1a8ef868bd3a5abf5105c993e060","license":"MIT","scripts":{"dev":"tshy --watch","lint":"eslint .","test":"vitest","build":"tshy","clean":"rimraf node_modules .tshy .tshy-build dist .turbo","test:browser":"vitest --config vitest.config.browser.mjs"},"version":"2.2.0","_npmUser":{"name":"anonymous","email":"lisowski54@gmail.com"},"homepage":"https://github.com/jimp-dev/jimp#readme","repository":{"url":"git+https://github.com/jimp-dev/jimp.git","type":"git"},"_npmVersion":"lerna/10.1.3/node@v24.15.0+arm64 (darwin)","description":"<div align=\"center\">   <img width=\"140\" alt=\"\"     src=\"https://raw.githubusercontent.com/jimp-dev/jimp/main/.github/assets/jimpy.png\">   <h1>@jimp/plugin-border</h1>   <p>Rounded corners, borders and box shadows.</p> </div>","directories":{},"maintainers":[{"name":"anonymous","email":"lisowski54@gmail.com"},{"name":"anonymous","email":"oliver@nth-iteration.ie"}],"sideEffects":false,"_nodeVersion":"24.15.0","dependencies":{"zod":"^4.6.7","buffer":"^6.0.3","@jimp/types":"2.2.0","@jimp/utils":"2.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tshy":"~4.0.0","eslint":"^10.15.0","vitest":"^5.1.1","@jimp/core":"2.2.0","typescript":"^7.0.2","@types/node":"^22.20.5","@jimp/js-png":"2.2.0","@jimp/js-jpeg":"2.2.0","@vitest/browser":"^5.1.1","@jimp/test-utils":"2.2.0","@jimp/config-eslint":"2.2.0","@jimp/config-vitest":"2.2.0","@jimp/config-typescript":"2.2.0","vite-plugin-node-polyfills":"^0.28.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plugin-border_2.2.0_1795629239053_0.6500815966687088"},"_cnpmcore_publish_time":"2026-11-25T17:53:59.214Z","publish_time":1795629239214,"_source_registry_name":"default","contributors":[]},"2.2.1":{"_id":"@jimp/plugin-border@2.2.1","bugs":{"url":"https://github.com/jimp-dev/jimp/issues"},"dist":{"shasum":"54d138c77dca72e28bde28d90b6d3862dc2fe970","tarball":"http://123.232.10.234:8212/nexus/content/repositories/npm-private/@jimp/plugin-border/-/plugin-border-2.2.1.tgz","fileCount":29,"integrity":"sha512-drWtd/xH1Wavh/tal5NwbTuIlhnGm91lizNGxk8UuYmCwNB2wZ0nze9ACsiFAftY4jrHKSuVo60MRFyKobQsPA==","signatures":[{"sig":"MEUCIDaT8Qiu7MzTRC093qkCR3127L9Ue29KSD1w2pB5vd3RAiEA0wp6f98gW/cFnjHpUlios0uynfiDbCsKtg/04CoTiZ0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIEF1qhgDKKE0cf4AJer84Krq/mk6onqDKOBFhV7jyzYBAiBbtNL6rMwXujLVwO1Mb+xHsVRE1wOrCJrxSdvOOtiLZg=="}],"unpackedSize":2351291,"size":2199330},"main":"./dist/commonjs/index.js","name":"@jimp/plugin-border","tshy":{"exclude":["**/*.test.ts"],"exports":{".":"./src/index.ts","./package.json":"./package.json"}},"type":"module","types":"./dist/commonjs/index.d.ts","author":{"name":"Andrew Lisowski","email":"lisowski54@gmail.com"},"module":"./dist/esm/index.js","engines":{"node":">=22"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},"./package.json":"./package.json"},"gitHead":"7ab3ff96f32a76e547be763bbafd474226429103","license":"MIT","scripts":{"dev":"tshy --watch","lint":"eslint .","test":"vitest","build":"tshy","clean":"rimraf node_modules .tshy .tshy-build dist .turbo","test:browser":"vitest --config vitest.config.browser.mjs"},"version":"2.2.1","_npmUser":{"name":"anonymous","email":"lisowski54@gmail.com"},"homepage":"https://github.com/jimp-dev/jimp#readme","repository":{"url":"git+https://github.com/jimp-dev/jimp.git","type":"git"},"_npmVersion":"lerna/10.1.3/node@v24.15.0+arm64 (darwin)","description":"<div align=\"center\">   <img width=\"140\" alt=\"\"     src=\"https://raw.githubusercontent.com/jimp-dev/jimp/main/.github/assets/jimpy.png\">   <h1>@jimp/plugin-border</h1>   <p>Rounded corners, borders and box shadows.</p> </div>","directories":{},"maintainers":[{"name":"anonymous","email":"lisowski54@gmail.com"},{"name":"anonymous","email":"oliver@nth-iteration.ie"}],"sideEffects":false,"_nodeVersion":"24.15.0","dependencies":{"zod":"^4.6.7","buffer":"^6.0.3","@jimp/types":"2.2.1","@jimp/utils":"2.2.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tshy":"~4.0.0","eslint":"^10.15.0","vitest":"^5.1.1","@jimp/core":"2.2.1","typescript":"^7.0.2","@types/node":"^22.20.5","@jimp/js-png":"2.2.1","@jimp/js-jpeg":"2.2.1","@vitest/browser":"^5.1.1","@jimp/test-utils":"2.2.1","@jimp/config-eslint":"2.2.1","@jimp/config-vitest":"2.2.1","@jimp/config-typescript":"2.2.1","vite-plugin-node-polyfills":"^0.28.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plugin-border_2.2.1_1795814490217_0.46395451912677843"},"_cnpmcore_publish_time":"2026-11-27T21:21:30.396Z","publish_time":1795814490396,"_source_registry_name":"default","contributors":[]},"2.2.2":{"_id":"@jimp/plugin-border@2.2.2","bugs":{"url":"https://github.com/jimp-dev/jimp/issues"},"dist":{"shasum":"8c62bba14a8dabdff45f699dfa1eb1694232dfab","tarball":"http://123.232.10.234:8212/nexus/content/repositories/npm-private/@jimp/plugin-border/-/plugin-border-2.2.2.tgz","fileCount":29,"integrity":"sha512-B9MH8xTHUmyUIqS/+2CJNJ/g/V10tT+PThWGS2AVY/MTnf3x3pDGE4q1WBq66fo6NlqdqE/BkPRJuStCdpW1uw==","signatures":[{"sig":"MEQCIG4yHqFbD1BUznWK2x6Tg+QkirGdOQOyRaZLaqxYL+lfAiB8SGppr7fxZM62mG5n2rLnCi/e9Ijb4goJs7tLCHgwKg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICpyTjuFd3mu53DqFOUU3nWdc+MglcvJS/n9/eAgJdAeAiEAsAHxkLHzJhingsfOoPL+/DsRNeXVXndqyj7Q0uFaMY8="}],"unpackedSize":2351291,"size":2199329},"main":"./dist/commonjs/index.js","name":"@jimp/plugin-border","tshy":{"exclude":["**/*.test.ts"],"exports":{".":"./src/index.ts","./package.json":"./package.json"}},"type":"module","types":"./dist/commonjs/index.d.ts","author":{"name":"Andrew Lisowski","email":"lisowski54@gmail.com"},"module":"./dist/esm/index.js","engines":{"node":">=22"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},"./package.json":"./package.json"},"gitHead":"d18cc93e6e0d1765ca72b19c22f2aa94dc183981","license":"MIT","scripts":{"dev":"tshy --watch","lint":"eslint .","test":"vitest","build":"tshy","clean":"rimraf node_modules .tshy .tshy-build dist .turbo","test:browser":"vitest --config vitest.config.browser.mjs"},"version":"2.2.2","_npmUser":{"name":"anonymous","email":"lisowski54@gmail.com"},"homepage":"https://github.com/jimp-dev/jimp#readme","repository":{"url":"git+https://github.com/jimp-dev/jimp.git","type":"git"},"_npmVersion":"lerna/10.1.3/node@v24.15.0+arm64 (darwin)","description":"<div align=\"center\">   <img width=\"140\" alt=\"\"     src=\"https://raw.githubusercontent.com/jimp-dev/jimp/main/.github/assets/jimpy.png\">   <h1>@jimp/plugin-border</h1>   <p>Rounded corners, borders and box shadows.</p> </div>","directories":{},"maintainers":[{"name":"anonymous","email":"lisowski54@gmail.com"},{"name":"anonymous","email":"oliver@nth-iteration.ie"}],"sideEffects":false,"_nodeVersion":"24.15.0","dependencies":{"zod":"^4.6.7","buffer":"^6.0.3","@jimp/types":"2.2.2","@jimp/utils":"2.2.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tshy":"~4.0.0","eslint":"^10.15.0","vitest":"^5.1.1","@jimp/core":"2.2.2","typescript":"^7.0.2","@types/node":"^22.20.5","@jimp/js-png":"2.2.2","@jimp/js-jpeg":"2.2.2","@vitest/browser":"^5.1.1","@jimp/test-utils":"2.2.2","@jimp/config-eslint":"2.2.2","@jimp/config-vitest":"2.2.2","@jimp/config-typescript":"2.2.2","vite-plugin-node-polyfills":"^0.28.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plugin-border_2.2.2_1796012022822_0.43230919783025934"},"_cnpmcore_publish_time":"2026-11-30T04:13:43.022Z","publish_time":1796012023022,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"latest":"2.2.2"},"name":"@jimp/plugin-border","time":{"created":"2026-11-24T04:58:55.809Z","modified":"2026-11-30T04:14:05.396Z","0.0.0-stage":"2026-11-24T04:51:30.456Z","2.0.0":"2026-11-24T04:58:41.710Z","2.1.0":"2026-11-24T23:27:33.411Z","2.2.0":"2026-11-25T17:53:59.214Z","2.2.1":"2026-11-27T21:21:30.396Z","2.2.2":"2026-11-30T04:13:43.022Z"},"readme":"<div align=\"center\">\n  <img width=\"140\" alt=\"\"\n    src=\"https://raw.githubusercontent.com/jimp-dev/jimp/main/.github/assets/jimpy.png\">\n  <h1>@jimp/plugin-border</h1>\n  <p>Rounded corners, borders and box shadows.</p>\n</div>\n\nThese work like CSS `border-radius`, `border` and `box-shadow`. The plugin is included in `jimp`.\n\n- [roundCorners](https://jimp-dev.github.io/jimp/api/jimp/classes/jimp/#roundcorners)\n- [border](https://jimp-dev.github.io/jimp/api/jimp/classes/jimp/#border)\n- [boxShadow](https://jimp-dev.github.io/jimp/api/jimp/classes/jimp/#boxshadow)\n\n```ts\nimport { Jimp } from \"jimp\";\n\nconst image = await Jimp.read(\"test/image.png\");\n\n// Make the corners transparent. The image keeps its size.\nimage.roundCorners({ radius: 20 });\n\n// Or give each corner its own radius. Corners left out stay square.\nimage.roundCorners({ radius: { topLeft: 40, bottomRight: 40 } });\n```\n\nSee [Getting Started](https://jimp-dev.github.io/jimp/guides/getting-started/) to read an image, change it and save the result with `write` or `getBuffer`.\n\n## Borders\n\n`border` draws the border outside the image: the image grows by `width` on every side, and none of it is covered. `color` is a hex number (`0xRRGGBBAA`) or a CSS color, and defaults to black.\n\nTo get a rounded border, pass `radius` to `border` rather than calling `roundCorners` first. `radius` is the border's outer radius. The image's corners are rounded to fit inside it, with a radius `width` smaller, like CSS.\n\n```ts\nimage.border({ width: 10, color: \"#ffffff\", radius: 30 });\n```\n\nThe border is only drawn around the image, so transparent parts of the image stay transparent.\n\n## Box shadows\n\n`boxShadow` draws a shadow under the image. The image grows to fit the shadow, and the original image is drawn over it unchanged.\n\n| Option   | Default      | Description                                                                  |\n| -------- | ------------ | ---------------------------------------------------------------------------- |\n| `x`      | `0`          | Moves the shadow right. Negative moves it left.                              |\n| `y`      | `4`          | Moves the shadow down. Negative moves it up.                                 |\n| `blur`   | `12`         | The blur radius, like CSS. The shadow fades out over about this many pixels. |\n| `spread` | `0`          | Grows the shadow on every side. Negative shrinks it.                         |\n| `color`  | `0x00000080` | Hex number or CSS color. Its alpha is the shadow's opacity.                  |\n| `radius` | `0`          | The shadow's corner radius. Use the radius you rounded the image with.       |\n\n```ts\nimage\n  .roundCorners({ radius: 20 })\n  .boxShadow({ y: 8, blur: 16, radius: 20, color: \"rgba(0, 0, 0, 0.5)\" });\n```\n\nLike CSS, the shadow has the shape of the image's box, not of its opaque pixels. Unlike CSS, it's drawn under the whole box, so it shows through transparent parts of the image. For a shadow shaped like the image's opaque pixels, use [`@jimp/plugin-shadow`](../plugin-shadow).","users":{}}