{"_id":"@capacitor-community/image-manipulator","_rev":"12-1b54d4a5c0155cc0bd22be48cdcf81b5","name":"@capacitor-community/image-manipulator","dist-tags":{"latest":"8.0.0"},"versions":{"6.0.0":{"name":"@capacitor-community/image-manipulator","version":"6.0.0","keywords":["capacitor","plugin","native","resize image"],"author":{"name":"Alex Ryltsov","email":"ryltsov.alex@gmail.com"},"license":"MIT","_id":"@capacitor-community/image-manipulator@6.0.0","maintainers":[{"name":"jcesarmobile","email":"jcesarmobile@gmail.com"},{"name":"vmfo","email":"vitor.oliveira@outsystems.com"},{"name":"maxlynch","email":"ihasmax@gmail.com"},{"name":"mhartington","email":"mikehartington@gmail.com"},{"name":"it_mike_s","email":"mike.summerfeldt@gmail.com"},{"name":"byrds","email":"info@byrds.ch"},{"name":"rdlabo","email":"sakakibara@rdlabo.jp"},{"name":"priyankpatel","email":"priyank.patel@stackspace.ca"},{"name":"dwieeb","email":"dwieeb@gmail.com"},{"name":"stewan","email":"oi@stewan.io"},{"name":"arielhernandezmusa","email":"arielhernandezmusa@gmail.com"},{"name":"jeepq","email":"jeanpierre.queau@gmail.com"},{"name":"start9keagan","email":"keagan@start9labs.com"},{"name":"boosten","email":"kevinboosten@gmail.com"},{"name":"nklayman","email":"noahklayman@gmail.com"},{"name":"ihadeed","email":"ibby@zyra.ca"},{"name":"danielprrazevedo","email":"daniel.prr.azevedo@gmail.com"},{"name":"ckgaparajita","email":"aparajita@aparajita.com"},{"name":"jpender","email":"joey@ionic.io"},{"name":"nhyatt","email":"nick@ionic.io"},{"name":"pwespi","email":"pwespi@pm.me"},{"name":"epicshaggy","email":"epicshaggy@gmail.com"},{"name":"thomasvidas","email":"hello@thomasvidas.com"},{"name":"robingenz","email":"mail@robingenz.dev"},{"name":"diachedelic","email":"james@diacono.com.au"},{"name":"johnborges","email":"jaborges@protonmail.ch"},{"name":"tobyas","email":"tobyas@tobyas.nl"},{"name":"elylucas","email":"ely@meta-tek.net"},{"name":"giodimiliaionic","email":"giovanni@ionic.io"},{"name":"brownoxford","email":"brownoxford@gmail.com"},{"name":"mrbatista","email":"mrba7ista@gmail.com"},{"name":"bazuka5801","email":"bazuka5801@mail.ru"},{"name":"hemang","email":"hemangsk@gmail.com"},{"name":"thegnuu","email":"ache@bbit.io"},{"name":"pbowyer","email":"peter@mapledesign.co.uk"},{"name":"capcombot","email":"ely+capcom@meta-tek.net"},{"name":"tafelnl","email":"tafelnl@protonmail.com"},{"name":"dallasjames","email":"dallastjames@gmail.com"},{"name":"ryaa","email":"ryltsov.alex@gmail.com"},{"name":"nkalupahana","email":"avishkank@gmail.com"},{"name":"ionicjs","email":"hi@ionic.io"},{"name":"multishiv19","email":"sp@shiv19.com"}],"contributors":[{"name":"Alex Ryltsov","email":"ryltsov.alex@gmail.com"}],"homepage":"https://github.com/capacitor-community/image-manipulator#readme","bugs":{"url":"https://github.com/capacitor-community/image-manipulator/issues"},"dist":{"shasum":"f87801ac98b3bcf9045d105c9632f06ec7d7b11e","tarball":"https://registry.npmjs.org/@capacitor-community/image-manipulator/-/image-manipulator-6.0.0.tgz","fileCount":34,"integrity":"sha512-iPbVmmO7w8ROsPRpRGS4avNtDITRJF4Z3ttt4fbCadfKCxdVCTfa/Nke9gzUkinmSd7ZWVxdJjSYCzIHjiwFYA==","signatures":[{"sig":"MEUCIQD6GNIkCL7pz3+gYsXx53Geh+eXzWWd9o8SuMQpd55pGwIgbE80kSFhzxv2tEL9VV0a3ZETEVJ+2dwgrl4UZLuKZYU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":69942},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","engines":{"npm":">=8.0.0","node":">=16.0.0"},"gitHead":"2e2ec59d70a3a2ae8fa6a699a384c7c08be0131e","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api ImageManipulatorPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","verify:ios":"xcodebuild -scheme CapacitorCommunityImageManipulator -destination generic/platform=iOS","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"ryaa","email":"ryltsov.alex@gmail.com"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/capacitor-community/image-manipulator.git","type":"git"},"_npmVersion":"10.5.0","description":"The Image Manipulator plugin is designed to manipulate images (resize, compress, crop etc.)","directories":{},"_nodeVersion":"20.11.1","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","rimraf":"^6.0.1","rollup":"^4.24.0","prettier":"^3.3.3","swiftlint":"^2.0.0","typescript":"~4.1.5","@capacitor/ios":"^6.0.0","@capacitor/core":"^6.0.0","@capacitor/docgen":"^0.2.2","@capacitor/android":"^6.0.0","@ionic/eslint-config":"^0.4.0","prettier-plugin-java":"^2.6.4","@ionic/prettier-config":"^4.0.0","@ionic/swiftlint-config":"^2.0.0"},"peerDependencies":{"@capacitor/core":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/image-manipulator_6.0.0_1738235161895_0.781336737876408","host":"s3://npm-registry-packages-npm-production"}},"7.0.0":{"name":"@capacitor-community/image-manipulator","version":"7.0.0","keywords":["capacitor","plugin","native","resize image"],"author":{"name":"Alex Ryltsov","email":"ryltsov.alex@gmail.com"},"license":"MIT","_id":"@capacitor-community/image-manipulator@7.0.0","maintainers":[{"name":"jcesarmobile","email":"jcesarmobile@gmail.com"},{"name":"vmfo","email":"vitor.oliveira@outsystems.com"},{"name":"maxlynch","email":"ihasmax@gmail.com"},{"name":"mhartington","email":"mikehartington@gmail.com"},{"name":"it_mike_s","email":"mike.summerfeldt@gmail.com"},{"name":"byrds","email":"info@byrds.ch"},{"name":"rdlabo","email":"sakakibara@rdlabo.jp"},{"name":"priyankpatel","email":"priyank.patel@stackspace.ca"},{"name":"dwieeb","email":"dwieeb@gmail.com"},{"name":"stewan","email":"oi@stewan.io"},{"name":"arielhernandezmusa","email":"arielhernandezmusa@gmail.com"},{"name":"jeepq","email":"jeanpierre.queau@gmail.com"},{"name":"start9keagan","email":"keagan@start9labs.com"},{"name":"boosten","email":"kevinboosten@gmail.com"},{"name":"nklayman","email":"noahklayman@gmail.com"},{"name":"ihadeed","email":"ibby@zyra.ca"},{"name":"danielprrazevedo","email":"daniel.prr.azevedo@gmail.com"},{"name":"ckgaparajita","email":"aparajita@aparajita.com"},{"name":"jpender","email":"joey@ionic.io"},{"name":"nhyatt","email":"nick@ionic.io"},{"name":"pwespi","email":"pwespi@pm.me"},{"name":"epicshaggy","email":"epicshaggy@gmail.com"},{"name":"thomasvidas","email":"hello@thomasvidas.com"},{"name":"robingenz","email":"mail@robingenz.dev"},{"name":"diachedelic","email":"james@diacono.com.au"},{"name":"johnborges","email":"jaborges@protonmail.ch"},{"name":"tobyas","email":"tobyas@tobyas.nl"},{"name":"elylucas","email":"ely@meta-tek.net"},{"name":"giodimiliaionic","email":"giovanni@ionic.io"},{"name":"brownoxford","email":"brownoxford@gmail.com"},{"name":"mrbatista","email":"mrba7ista@gmail.com"},{"name":"bazuka5801","email":"bazuka5801@mail.ru"},{"name":"hemang","email":"hemangsk@gmail.com"},{"name":"thegnuu","email":"ache@bbit.io"},{"name":"pbowyer","email":"peter@mapledesign.co.uk"},{"name":"capcombot","email":"ely+capcom@meta-tek.net"},{"name":"tafelnl","email":"tafelnl@protonmail.com"},{"name":"dallasjames","email":"dallastjames@gmail.com"},{"name":"ryaa","email":"ryltsov.alex@gmail.com"},{"name":"nkalupahana","email":"avishkank@gmail.com"},{"name":"ionicjs","email":"hi@ionic.io"},{"name":"multishiv19","email":"sp@shiv19.com"}],"contributors":[{"name":"Alex Ryltsov","email":"ryltsov.alex@gmail.com"}],"homepage":"https://github.com/capacitor-community/image-manipulator#readme","bugs":{"url":"https://github.com/capacitor-community/image-manipulator/issues"},"dist":{"shasum":"477ff883c0e4869980b7ee7840231f4cd6ec6f3b","tarball":"https://registry.npmjs.org/@capacitor-community/image-manipulator/-/image-manipulator-7.0.0.tgz","fileCount":34,"integrity":"sha512-jOG/boSvdukciNvgX0NBzh954TASnMixe1RrkAC9GSmV54TO+SY26tPWv7YUgtcQn/Z29hnIpdwleh7OrPiasQ==","signatures":[{"sig":"MEQCIGgA8WtjlGEozZbbZAerzlbj+Y30IDp2NucJn+Y4x53iAiB8sg3JNaG8ookwG+mWnC+DQOi75+PCxInZChhWW9cxmg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":70047},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","engines":{"npm":">=8.0.0","node":">=16.0.0"},"gitHead":"941779f0dbaa6a682fb2bb323759cc74a2737a5d","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api ImageManipulatorPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","verify:ios":"xcodebuild -scheme CapacitorCommunityImageManipulator -destination generic/platform=iOS","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"ryaa","email":"ryltsov.alex@gmail.com"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/capacitor-community/image-manipulator.git","type":"git"},"_npmVersion":"10.5.0","description":"The Image Manipulator plugin is designed to manipulate images (resize, compress, crop etc.)","directories":{},"_nodeVersion":"20.11.1","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","rimraf":"^6.0.1","rollup":"^4.30.1","prettier":"^3.4.2","swiftlint":"^2.0.0","typescript":"~4.1.5","@capacitor/ios":"^7.0.0","@capacitor/core":"^7.0.0","@capacitor/docgen":"^0.3.0","@capacitor/android":"^7.0.0","@ionic/eslint-config":"^0.4.0","prettier-plugin-java":"^2.6.6","@ionic/prettier-config":"^4.0.0","@ionic/swiftlint-config":"^2.0.0"},"peerDependencies":{"@capacitor/core":">=7.0.0"},"_npmOperationalInternal":{"tmp":"tmp/image-manipulator_7.0.0_1738574380428_0.4392924587762719","host":"s3://npm-registry-packages-npm-production"}},"8.0.0":{"name":"@capacitor-community/image-manipulator","version":"8.0.0","keywords":["capacitor","plugin","native","resize image"],"author":{"name":"Alex Ryltsov","email":"ryltsov.alex@gmail.com"},"license":"MIT","_id":"@capacitor-community/image-manipulator@8.0.0","maintainers":[{"name":"jcesarmobile","email":"jcesarmobile@gmail.com"},{"name":"vmfo","email":"vitor.oliveira@outsystems.com"},{"name":"maxlynch","email":"ihasmax@gmail.com"},{"name":"mhartington","email":"mikehartington@gmail.com"},{"name":"it_mike_s","email":"mike.summerfeldt@gmail.com"},{"name":"byrds","email":"info@byrds.ch"},{"name":"rdlabo","email":"sakakibara@rdlabo.jp"},{"name":"priyankpatel","email":"priyank.patel@stackspace.ca"},{"name":"dwieeb","email":"dwieeb@gmail.com"},{"name":"stewan","email":"oi@stewan.io"},{"name":"arielhernandezmusa","email":"arielhernandezmusa@gmail.com"},{"name":"jeepq","email":"jeanpierre.queau@gmail.com"},{"name":"start9keagan","email":"keagan@start9labs.com"},{"name":"boosten","email":"kevinboosten@gmail.com"},{"name":"nklayman","email":"noahklayman@gmail.com"},{"name":"ihadeed","email":"ibby@zyra.ca"},{"name":"danielprrazevedo","email":"daniel.prr.azevedo@gmail.com"},{"name":"ckgaparajita","email":"aparajita@aparajita.com"},{"name":"jpender","email":"joey@ionic.io"},{"name":"nhyatt","email":"nick@ionic.io"},{"name":"pwespi","email":"pwespi@pm.me"},{"name":"epicshaggy","email":"epicshaggy@gmail.com"},{"name":"thomasvidas","email":"hello@thomasvidas.com"},{"name":"robingenz","email":"mail@robingenz.dev"},{"name":"diachedelic","email":"james@diacono.com.au"},{"name":"johnborges","email":"jaborges@protonmail.ch"},{"name":"tobyas","email":"tobyas@tobyas.nl"},{"name":"elylucas","email":"ely@meta-tek.net"},{"name":"giodimiliaionic","email":"giovanni@ionic.io"},{"name":"brownoxford","email":"brownoxford@gmail.com"},{"name":"mrbatista","email":"mrba7ista@gmail.com"},{"name":"bazuka5801","email":"bazuka5801@mail.ru"},{"name":"hemang","email":"hemangsk@gmail.com"},{"name":"thegnuu","email":"ache@bbit.io"},{"name":"pbowyer","email":"peter@mapledesign.co.uk"},{"name":"capcombot","email":"ely+capcom@meta-tek.net"},{"name":"rui.mendes","email":"rui.moreira.mendes@outsystems.com"},{"name":"ndr","email":"andre.destro@outsystems.com"},{"name":"alexgerardojacinto","email":"agerardojacinto@gmail.com"},{"name":"tafelnl","email":"tafelnl@protonmail.com"},{"name":"os-pedrobilro","email":"pedro.gustavo.bilro@outsystems.com"},{"name":"dallasjames","email":"dallastjames@gmail.com"},{"name":"ryaa","email":"ryltsov.alex@gmail.com"},{"name":"nkalupahana","email":"avishkank@gmail.com"},{"name":"ionicjs","email":"hi@ionic.io"},{"name":"multishiv19","email":"sp@shiv19.com"},{"name":"peitschie","email":"philip.peitsch@gmail.com"},{"name":"damiantarnawsky","email":"damiantarnawsky@gmail.com"},{"name":"harvdoggy","email":"eric.harvey@outsystems.com"},{"name":"capacitor-plugin-bot","email":"ossplugins@outsystems.com"},{"name":"eric-ionic","email":"horodyski@ionic.io"},{"name":"os-ruialves","email":"rui.alves@outsystems.com"}],"contributors":[{"name":"Alex Ryltsov","email":"ryltsov.alex@gmail.com"}],"homepage":"https://github.com/capacitor-community/image-manipulator#readme","bugs":{"url":"https://github.com/capacitor-community/image-manipulator/issues"},"dist":{"shasum":"752449eacd4525b7ca730a2ef318b304a9ac354c","tarball":"https://registry.npmjs.org/@capacitor-community/image-manipulator/-/image-manipulator-8.0.0.tgz","fileCount":34,"integrity":"sha512-zA3vVZR7Kl8p0pZj151yOwnWVsg2ho/kDMDSNbaezDtQ8yQYhw/5scEvptr3WUuvlKRl9EvtOo9JzC7OxWM50Q==","signatures":[{"sig":"MEYCIQCbMFjfLYW4Ktr+M+JvsExqrMJc2baaAMzj+ShGthmBlQIhAKUNhDD3/d0w4O2vXNRAbQ8mm2TUXzCpqNl9MasJXbIE","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":68823},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","engines":{"npm":">=8.0.0","node":">=16.0.0"},"gitHead":"c42723aa7076cd9d21c34777b24f023439deaf33","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format -- ios/Sources ios/Tests Package.swift","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- ios/Sources ios/Tests Package.swift","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api ImageManipulatorPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","verify:ios":"xcodebuild -scheme CapacitorCommunityImageManipulator -destination generic/platform=iOS","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"ryaa","email":"ryltsov.alex@gmail.com"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/capacitor-community/image-manipulator.git","type":"git"},"_npmVersion":"10.9.4","description":"The Image Manipulator plugin is designed to manipulate images (resize, compress, crop etc.)","directories":{},"_nodeVersion":"22.22.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.1","rimraf":"^6.1.0","rollup":"^4.53.2","prettier":"^3.6.2","swiftlint":"^2.0.0","typescript":"^5.1.6","@types/node":"^22.19.8","@capacitor/ios":"^8.0.0","@capacitor/core":"^8.0.0","@capacitor/docgen":"^0.3.1","@capacitor/android":"^8.0.0","@ionic/eslint-config":"^0.4.0","prettier-plugin-java":"^2.7.7","@ionic/prettier-config":"^4.0.0","@ionic/swiftlint-config":"^2.0.0"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/image-manipulator_8.0.0_1770616679547_0.5231100222094234","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2025-01-30T11:06:01.562Z","modified":"2026-09-28T16:57:43.342Z","6.0.0":"2025-01-30T11:06:02.083Z","7.0.0":"2025-02-03T09:19:40.583Z","8.0.0":"2026-02-09T05:57:59.680Z"},"bugs":{"url":"https://github.com/capacitor-community/image-manipulator/issues"},"author":{"name":"Alex Ryltsov","email":"ryltsov.alex@gmail.com"},"license":"MIT","homepage":"https://github.com/capacitor-community/image-manipulator#readme","keywords":["capacitor","plugin","native","resize image"],"repository":{"url":"git+https://github.com/capacitor-community/image-manipulator.git","type":"git"},"description":"The Image Manipulator plugin is designed to manipulate images (resize, compress, crop etc.)","contributors":[{"name":"Alex Ryltsov","email":"ryltsov.alex@gmail.com"}],"maintainers":[{"email":"jcesarmobile@gmail.com","name":"jcesarmobile"},{"email":"vitor.oliveira@outsystems.com","name":"vmfo"},{"email":"ihasmax@gmail.com","name":"maxlynch"},{"email":"mikehartington@gmail.com","name":"mhartington"},{"email":"mike.summerfeldt@gmail.com","name":"it_mike_s"},{"email":"info@byrds.ch","name":"byrds"},{"email":"sakakibara@rdlabo.jp","name":"rdlabo"},{"email":"priyank.patel@stackspace.ca","name":"priyankpatel"},{"email":"dwieeb@gmail.com","name":"dwieeb"},{"email":"oi@stewan.io","name":"stewan"},{"email":"arielhernandezmusa@gmail.com","name":"arielhernandezmusa"},{"email":"jeanpierre.queau@gmail.com","name":"jeepq"},{"email":"keagan@start9labs.com","name":"start9keagan"},{"email":"kevinboosten@gmail.com","name":"boosten"},{"email":"noahklayman@gmail.com","name":"nklayman"},{"email":"ibby@zyra.ca","name":"ihadeed"},{"email":"daniel.prr.azevedo@gmail.com","name":"danielprrazevedo"},{"email":"aparajita@aparajita.com","name":"ckgaparajita"},{"email":"joey@ionic.io","name":"jpender"},{"email":"nick@ionic.io","name":"nhyatt"},{"email":"pwespi@pm.me","name":"pwespi"},{"email":"epicshaggy@gmail.com","name":"epicshaggy"},{"email":"hello@thomasvidas.com","name":"thomasvidas"},{"email":"mail@robingenz.dev","name":"robingenz"},{"email":"james@diacono.com.au","name":"diachedelic"},{"email":"jaborges@protonmail.ch","name":"johnborges"},{"email":"tobyas@tobyas.nl","name":"tobyas"},{"email":"ely@meta-tek.net","name":"elylucas"},{"email":"giovanni@ionic.io","name":"giodimiliaionic"},{"email":"brownoxford@gmail.com","name":"brownoxford"},{"email":"mrba7ista@gmail.com","name":"mrbatista"},{"email":"bazuka5801@mail.ru","name":"bazuka5801"},{"email":"hemangsk@gmail.com","name":"hemang"},{"email":"ache@bbit.io","name":"thegnuu"},{"email":"peter@mapledesign.co.uk","name":"pbowyer"},{"email":"ely+capcom@meta-tek.net","name":"capcombot"},{"email":"rui.moreira.mendes@outsystems.com","name":"rui.mendes"},{"email":"andre.destro@outsystems.com","name":"ndr"},{"email":"agerardojacinto@gmail.com","name":"alexgerardojacinto"},{"email":"tafelnl@protonmail.com","name":"tafelnl"},{"email":"pedro.gustavo.bilro@outsystems.com","name":"os-pedrobilro"},{"email":"dallastjames@gmail.com","name":"dallasjames"},{"email":"ryltsov.alex@gmail.com","name":"ryaa"},{"email":"avishkank@gmail.com","name":"nkalupahana"},{"email":"hi@ionic.io","name":"ionicjs"},{"email":"sp@shiv19.com","name":"multishiv19"},{"email":"nuno.azevedo@outsystems.com","name":"nuno.azevedo-outsystems"},{"email":"trevorlambert11@gmail.com","name":"trevorlambert"},{"email":"philip.peitsch@gmail.com","name":"peitschie"},{"email":"damiantarnawsky@gmail.com","name":"damiantarnawsky"},{"email":"eric.harvey@outsystems.com","name":"harvdoggy"},{"email":"ossplugins@outsystems.com","name":"capacitor-plugin-bot"},{"email":"horodyski@ionic.io","name":"eric-ionic"},{"email":"rui.alves@outsystems.com","name":"os-ruialves"}],"readme":"<p align=\"center\"><br><img src=\"https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png\" width=\"128\" height=\"128\" /></p>\n<h3 align=\"center\">Image Manipulator Plugin</h3>\n<p align=\"center\"><strong><code>@capacitor-community/image-manipulator</code></strong></p>\n<p align=\"center\">\n  Capacitor community plugin to manipulate images (resize, compress, crop etc.)\n</p>\n\n<p align=\"center\">\n  <img src=\"https://img.shields.io/maintenance/yes/2024?style=flat-square\" />\n  <a href=\"https://www.npmjs.com/package/@capacitor-community/image-manipulator\"><img src=\"https://img.shields.io/npm/l/@capacitor-community/image-manipulator?style=flat-square\" /></a>\n  <br>\n  <a href=\"https://www.npmjs.com/package/@capacitor-community/image-manipulator\"><img src=\"https://img.shields.io/npm/dw/@capacitor-community/image-manipulator?style=flat-square\" /></a>\n  <a href=\"https://www.npmjs.com/package/@capacitor-community/image-manipulator\"><img src=\"https://img.shields.io/npm/v/@capacitor-community/image-manipulator?style=flat-square\" /></a>\n  <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\n  <a href=\"#contributors-\"><img src=\"https://img.shields.io/badge/all%20contributors-1-orange?style=flat-square\" /></a>\n  <!-- ALL-CONTRIBUTORS-BADGE:END -->\n</p>\n\n## Table of Contents\n\n- [Maintainers](#maintainers)\n- [About](#about)\n- [Plugin versions](#plugin-versions)\n- [Supported Platforms](#supported-platforms)\n- [Install](#install)\n- [API](#api)\n- [Troubleshooting](#troubleshooting)\n\n## Maintainers\n\n| Maintainer | GitHub                          | Active |\n| ---------- | ------------------------------- | ------ |\n| ryaa       | [ryaa](https://github.com/ryaa) | yes    |\n\n## About\n\nThis capcitor plugin allows reading image dimensions (width and height) and resize images.\nThis plugin is inspired and similar to [cordova-plugin-image-resizer](https://github.com/JoschkaSchulz/cordova-plugin-image-resizer) plugin. Please note that it does not depend on **cordova-plugin-camera** plugin and can be used independently.\n\n<br>\n\n**Features:**\n\n- supports getting image dimensions\n- supports resizing image\n- supports Android and iOS platforms\n\n**NOTE**: The plugin version 8.0.0 is compatible with Capacitor 8\n\n## Plugin versions\n\n| Capacitor version | Plugin version |\n| ----------------- | -------------- |\n| 8.x               | 8.x            |\n| 7.x               | 7.x            |\n| 6.x               | 6.x            |\n\n## Supported Platforms\n\n- iOS\n- Android\n\n## Install\n\n```bash\nnpm install @capacitor-community/image-manipulator\nnpx cap sync\n```\n\n## API\n\n<docgen-index>\n\n* [`getDimensions(...)`](#getdimensions)\n* [`resize(...)`](#resize)\n* [Interfaces](#interfaces)\n\n</docgen-index>\n\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\n### getDimensions(...)\n\n```typescript\ngetDimensions(options: GetDimensionsOptions) => Promise<{ width: number; height: number; }>\n```\n\nGet dimensions of an image (width and height)\n\n| Param         | Type                                                                  | Description                           |\n| ------------- | --------------------------------------------------------------------- | ------------------------------------- |\n| **`options`** | <code><a href=\"#getdimensionsoptions\">GetDimensionsOptions</a></code> | options to get dimensions of an image |\n\n**Returns:** <code>Promise&lt;{ width: number; height: number; }&gt;</code>\n\n**Since:** 6.0.0\n\n--------------------\n\n\n### resize(...)\n\n```typescript\nresize(options: ResizeOptions) => Promise<{ originalWidth: number; originalHeight: number; resizedWidth: number; resizedHeight: number; imagePath: string; webPath: string; resized: boolean; }>\n```\n\nMethod to resize an image based on the provided options and return the resized image details. Please note that the resized\nimage will respect the aspect ratio of the original image and will be resized to be equal to less of the provided maxWidth or maxHeight.\nIf the image both width and height are less than the provided maxWidth and maxHeight, the image will not be resized\nand the original image details will be returned with resized as false.\nIf either maxWidth or maxHeight is not provided or 0, this parameter will be ignored (not used) and the image will be\nresized based on the provided maxWidth or maxHeight, accordingly.\nPlease note that either maxWidth or maxHeight must be provided to resize an image.\n\n| Param         | Type                                                    | Description                |\n| ------------- | ------------------------------------------------------- | -------------------------- |\n| **`options`** | <code><a href=\"#resizeoptions\">ResizeOptions</a></code> | Options to resize an image |\n\n**Returns:** <code>Promise&lt;{ originalWidth: number; originalHeight: number; resizedWidth: number; resizedHeight: number; imagePath: string; webPath: string; resized: boolean; }&gt;</code>\n\n**Since:** 6.0.0\n\n--------------------\n\n\n### Interfaces\n\n\n#### GetDimensionsOptions\n\n| Prop            | Type                | Description                                  | Since |\n| --------------- | ------------------- | -------------------------------------------- | ----- |\n| **`imagePath`** | <code>string</code> | The path to the image to get its dimensions. | 6.0.0 |\n\n\n#### ResizeOptions\n\n| Prop              | Type                 | Description                                                                                                                | Since |\n| ----------------- | -------------------- | -------------------------------------------------------------------------------------------------------------------------- | ----- |\n| **`imagePath`**   | <code>string</code>  | The path to the image to resize.                                                                                           | 6.0.0 |\n| **`folderName`**  | <code>string</code>  | (Android Only) The name of the folder to store the resized images (optional, defaults to 'ResizedImages' if not provided). | 6.0.0 |\n| **`fileName`**    | <code>string</code>  | The name of the resized file without extension (optional, timestamp as name if not provided).                              | 6.0.0 |\n| **`quality`**     | <code>number</code>  | The resized image quality from 0 to 100, where 100 is max (optional, defaults to 85 if not provided).                      | 6.0.0 |\n| **`maxWidth`**    | <code>number</code>  | The max width of the resized image (optional, but at least either height or width must be provided).                       | 6.0.0 |\n| **`maxHeight`**   | <code>number</code>  | The max height of the resized image (optional, but at least either width or height must be provided).                      | 6.0.0 |\n| **`fixRotation`** | <code>boolean</code> | Fix the rotation of the image based on EXIF metadata (optional, defaults to false if not provided).                        | 6.0.0 |\n\n</docgen-api>\n\n## Usage\n\nPlease also see **example-app** for a complete example.\n\n### Resize image\n\n```\nimport { ImageManipulator } from '@capacitor-community/image-manipulator';\n\nconst options: ImageResizeOptions = {\n  imagePath: 'path/to/image.jpg',\n  maxWidth: 300,\n  maxHeight: 300,\n  quality: 85,\n  folderName: 'ResizedImages',\n  fileName: 'resized',\n  fixRotation: true\n};\nconst result = await ImageManipulator.resize(options);\n```\n\n### Resize image\n\n```\nimport { ImageManipulator } from '@capacitor-community/image-manipulator';\n\nconst options: GetDimensionsOptions = {\n  imagePath: 'path/to/image.jpg'\n};\nconst result = await ImageManipulator.getDimensions(options);\n```\n","readmeFilename":"README.md"}