Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
104 changes: 52 additions & 52 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,103 +1,103 @@
### v1.2.0 (2021-05-13)

- [Demote example only libraries to dev deps.](https://github.com/alexjeffburke/rightimage/commit/a571f7e4498026956a243b5cb1d1b648c932057c) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Bump is-animated to 2.0.1 and set caret version.](https://github.com/alexjeffburke/rightimage/commit/a4838bd42f32eb05ed92a8ff7e53b43d4b847ebe) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Bump jpegtran to 2.0.0 after f2345a5.](https://github.com/alexjeffburke/rightimage/commit/dfd642bd07950e7a97d4e8e340da8ed0427eec08) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Upgrade to sharp 0.28.0.](https://github.com/alexjeffburke/rightimage/commit/f2345a5546c6164c7acad029d4f464a2289b7f18) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Demote example only libraries to dev deps.](https://github.com/One-com/rightimage/commit/a571f7e4498026956a243b5cb1d1b648c932057c) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Bump is-animated to 2.0.1 and set caret version.](https://github.com/One-com/rightimage/commit/a4838bd42f32eb05ed92a8ff7e53b43d4b847ebe) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Bump jpegtran to 2.0.0 after f2345a5.](https://github.com/One-com/rightimage/commit/dfd642bd07950e7a97d4e8e340da8ed0427eec08) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Upgrade to sharp 0.28.0.](https://github.com/One-com/rightimage/commit/f2345a5546c6164c7acad029d4f464a2289b7f18) ([Alex J Burke](mailto:alex@alexjeffburke.com))

### v1.1.0 (2021-02-12)

- [Throw in an empty rc file for prettier.](https://github.com/alexjeffburke/rightimage/commit/572f75b98c13c1f61148293d5a6b2e689fc38329) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Bump timeout on middleware conversion test for CI.](https://github.com/alexjeffburke/rightimage/commit/559dab22d6b024a43f2f3bfa54399a88c4423ed4) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Upgrade to sharp 0.27.0.](https://github.com/alexjeffburke/rightimage/commit/f36c929fee387743b66c2a951df0cdb8ec6c59fb) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Switch to GitHub Actions](https://github.com/alexjeffburke/rightimage/commit/b7d1919e3fb5c8731de9f48e35328533ca2484b3) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Throw in an empty rc file for prettier.](https://github.com/One-com/rightimage/commit/572f75b98c13c1f61148293d5a6b2e689fc38329) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Bump timeout on middleware conversion test for CI.](https://github.com/One-com/rightimage/commit/559dab22d6b024a43f2f3bfa54399a88c4423ed4) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Upgrade to sharp 0.27.0.](https://github.com/One-com/rightimage/commit/f36c929fee387743b66c2a951df0cdb8ec6c59fb) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Switch to GitHub Actions](https://github.com/One-com/rightimage/commit/b7d1919e3fb5c8731de9f48e35328533ca2484b3) ([Alex J Burke](mailto:alex@alexjeffburke.com))

### v1.0.0 (2020-09-04)

- [Add changelog generation to the version hook.](https://github.com/alexjeffburke/rightimage/commit/4f9cb748b52d1b34b23a797792b97a6e08e45de4) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Wire in validation of the documentation on CI.](https://github.com/alexjeffburke/rightimage/commit/56a35c29b4c86a16e3b674a3c4e8d82ad7fec0fe) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Dynamically evaluate README with evaldown.](https://github.com/alexjeffburke/rightimage/commit/468d070107f2cc02328a06034ad6a8dcf15b0640) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Upgrade to sharp 0.26.0.](https://github.com/alexjeffburke/rightimage/commit/858fc320eeaf9f9dcfeb64ba0bc3b20f34a158c7) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Configure build matrix on CI.](https://github.com/alexjeffburke/rightimage/commit/19b8d950d5ef0e467cbdabe4b19d138d3b47c338) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [+2 more](https://github.com/alexjeffburke/rightimage/compare/v0.7.2...v1.0.0)
- [Add changelog generation to the version hook.](https://github.com/One-com/rightimage/commit/4f9cb748b52d1b34b23a797792b97a6e08e45de4) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Wire in validation of the documentation on CI.](https://github.com/One-com/rightimage/commit/56a35c29b4c86a16e3b674a3c4e8d82ad7fec0fe) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Dynamically evaluate README with evaldown.](https://github.com/One-com/rightimage/commit/468d070107f2cc02328a06034ad6a8dcf15b0640) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Upgrade to sharp 0.26.0.](https://github.com/One-com/rightimage/commit/858fc320eeaf9f9dcfeb64ba0bc3b20f34a158c7) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Configure build matrix on CI.](https://github.com/One-com/rightimage/commit/19b8d950d5ef0e467cbdabe4b19d138d3b47c338) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [+2 more](https://github.com/One-com/rightimage/compare/v0.7.2...v1.0.0)

### v0.7.2 (2020-09-02)

- [Restore eslint-plugin-prettier after 04d3709.](https://github.com/alexjeffburke/rightimage/commit/9b29b35de82e97acaf5b60f1db53cdd5effb392d) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Pass through unconverted string args and handle more errors.](https://github.com/alexjeffburke/rightimage/commit/53efc2548fe47350b37cf49508e97e4371656099) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Restore eslint-plugin-prettier after 04d3709.](https://github.com/One-com/rightimage/commit/9b29b35de82e97acaf5b60f1db53cdd5effb392d) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Pass through unconverted string args and handle more errors.](https://github.com/One-com/rightimage/commit/53efc2548fe47350b37cf49508e97e4371656099) ([Alex J Burke](mailto:alex@alexjeffburke.com))

### v0.7.1 (2020-08-25)

- [Restore support for string resize argument "10,10".](https://github.com/alexjeffburke/rightimage/commit/35bfdf2ccb340523d104580cc86e786523cbe401) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Restore support for string resize argument "10,10".](https://github.com/One-com/rightimage/commit/35bfdf2ccb340523d104580cc86e786523cbe401) ([Alex J Burke](mailto:alex@alexjeffburke.com))

### v0.7.0 (2020-05-02)

- [Revise README.](https://github.com/alexjeffburke/rightimage/commit/67a5ccf5f47c3aa7ac4319f7f3f08866312be8f7) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Bump to mocha 7.](https://github.com/alexjeffburke/rightimage/commit/50c5c8402effe0a26208c7765aec39741546b7c4) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Package only lib directory.](https://github.com/alexjeffburke/rightimage/commit/11bf970dc30f218293f1272d7fb32618c45b13bf) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Bump impro to 0.7.0.](https://github.com/alexjeffburke/rightimage/commit/eeb11cb16a79afc5a6072d4b98dbe0c07c00de9b) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Revise README.](https://github.com/One-com/rightimage/commit/67a5ccf5f47c3aa7ac4319f7f3f08866312be8f7) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Bump to mocha 7.](https://github.com/One-com/rightimage/commit/50c5c8402effe0a26208c7765aec39741546b7c4) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Package only lib directory.](https://github.com/One-com/rightimage/commit/11bf970dc30f218293f1272d7fb32618c45b13bf) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Bump impro to 0.7.0.](https://github.com/One-com/rightimage/commit/eeb11cb16a79afc5a6072d4b98dbe0c07c00de9b) ([Alex J Burke](mailto:alex@alexjeffburke.com))

### v0.6.0 (2020-03-07)

- [Bump impro to 0.6.1.](https://github.com/alexjeffburke/rightimage/commit/5b77644fa119bcd9f081f35643b353c632bc12c3) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Bump impro to 0.6.1.](https://github.com/One-com/rightimage/commit/5b77644fa119bcd9f081f35643b353c632bc12c3) ([Alex J Burke](mailto:alex@alexjeffburke.com))

### v0.5.0 (2019-11-23)

- [Bump impro to 0.5.1.](https://github.com/alexjeffburke/rightimage/commit/ca6f34376607b0f2b1d1bd8594ee9b976784c220) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Bump to latest mocha.](https://github.com/alexjeffburke/rightimage/commit/4c9370a444e2ecb826969b02bac9018e5b0d7ed7) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Update lint setup and enforce additional restrictions.](https://github.com/alexjeffburke/rightimage/commit/04d3709bb3c4b912d3c35e60baf4d8de7eb3d935) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Fix an accidentally duplicated test name.](https://github.com/alexjeffburke/rightimage/commit/6fd95fccd1e1682416e3cfe4f8b196940c24cb12) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Swap new Buffer\(\) -> Buffer.from\(\).](https://github.com/alexjeffburke/rightimage/commit/4a6e0a76e3fe097e7ea4334ccfaa645f5e737441) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Bump impro to 0.5.1.](https://github.com/One-com/rightimage/commit/ca6f34376607b0f2b1d1bd8594ee9b976784c220) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Bump to latest mocha.](https://github.com/One-com/rightimage/commit/4c9370a444e2ecb826969b02bac9018e5b0d7ed7) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Update lint setup and enforce additional restrictions.](https://github.com/One-com/rightimage/commit/04d3709bb3c4b912d3c35e60baf4d8de7eb3d935) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Fix an accidentally duplicated test name.](https://github.com/One-com/rightimage/commit/6fd95fccd1e1682416e3cfe4f8b196940c24cb12) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Swap new Buffer\(\) -> Buffer.from\(\).](https://github.com/One-com/rightimage/commit/4a6e0a76e3fe097e7ea4334ccfaa645f5e737441) ([Alex J Burke](mailto:alex@alexjeffburke.com))

### v0.4.0 (2019-10-05)

- [Bump impro to 0.4.0.](https://github.com/alexjeffburke/rightimage/commit/a7cd95a081b5164eb9cc1cc778517f47b7500cdb) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Switch to exif-reader.](https://github.com/alexjeffburke/rightimage/commit/336ceafd02634d3cb8e775ca1ced3b331beff31b) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Do a cleanup pass over the example app.](https://github.com/alexjeffburke/rightimage/commit/7f7a9996cc0c32eee16c56d7f7da97e7c8fd305c) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Bump impro to 0.4.0.](https://github.com/One-com/rightimage/commit/a7cd95a081b5164eb9cc1cc778517f47b7500cdb) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Switch to exif-reader.](https://github.com/One-com/rightimage/commit/336ceafd02634d3cb8e775ca1ced3b331beff31b) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Do a cleanup pass over the example app.](https://github.com/One-com/rightimage/commit/7f7a9996cc0c32eee16c56d7f7da97e7c8fd305c) ([Alex J Burke](mailto:alex@alexjeffburke.com))

### v0.3.1 (2019-09-18)

- [Restore support for a string resize argument such as "10x10".](https://github.com/alexjeffburke/rightimage/commit/9a5bcf0b2228b6f3b63259f949bec213ed94fedb) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Restore support for a string resize argument such as "10x10".](https://github.com/One-com/rightimage/commit/9a5bcf0b2228b6f3b63259f949bec213ed94fedb) ([Alex J Burke](mailto:alex@alexjeffburke.com))

### v0.3.0 (2019-09-17)

- [Update README.](https://github.com/alexjeffburke/rightimage/commit/ceed97e58ed4798009403104cc9d28e17df85270) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Bump impro to 0.3.0 and set a tilde range until we freeze the API.](https://github.com/alexjeffburke/rightimage/commit/3ce48204d7792dc86512fed87a4b4de67698b24e) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Validate operations prior to constructing the pipeline.](https://github.com/alexjeffburke/rightimage/commit/c0416b52ce775ba1689a5db2e9630c8b70733864) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Validate the selected output format and error if unsupported.](https://github.com/alexjeffburke/rightimage/commit/7c131a649032c6074fd0677ebf825497da712ba8) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Redo the error from 5f7211e so it is passed to the callback.](https://github.com/alexjeffburke/rightimage/commit/5e7f69f518638b1ba7ed885d16c5c34ee18d8f7f) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [+6 more](https://github.com/alexjeffburke/rightimage/compare/v0.2.3...v0.3.0)
- [Update README.](https://github.com/One-com/rightimage/commit/ceed97e58ed4798009403104cc9d28e17df85270) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Bump impro to 0.3.0 and set a tilde range until we freeze the API.](https://github.com/One-com/rightimage/commit/3ce48204d7792dc86512fed87a4b4de67698b24e) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Validate operations prior to constructing the pipeline.](https://github.com/One-com/rightimage/commit/c0416b52ce775ba1689a5db2e9630c8b70733864) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Validate the selected output format and error if unsupported.](https://github.com/One-com/rightimage/commit/7c131a649032c6074fd0677ebf825497da712ba8) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Redo the error from 5f7211e so it is passed to the callback.](https://github.com/One-com/rightimage/commit/5e7f69f518638b1ba7ed885d16c5c34ee18d8f7f) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [+6 more](https://github.com/One-com/rightimage/compare/v0.2.3...v0.3.0)

### v0.2.3 (2019-07-08)

- [Restrict the version of express-processimage.](https://github.com/alexjeffburke/rightimage/commit/ef68d9f648d37fc5c6d5ee7c9e8d338c2f507998) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Restrict the version of express-processimage.](https://github.com/One-com/rightimage/commit/ef68d9f648d37fc5c6d5ee7c9e8d338c2f507998) ([Alex J Burke](mailto:alex@alexjeffburke.com))

### v0.2.2 (2019-03-03)

- [Tweak title sizes in the README.](https://github.com/alexjeffburke/rightimage/commit/32067e128814041fa1b5130581b67b05f60073ac) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Send coverage data to coveralls and add badge.](https://github.com/alexjeffburke/rightimage/commit/a42cf218b758a5314205495aa7d7519f4c6a2c68) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Add comprehensive README.](https://github.com/alexjeffburke/rightimage/commit/7ef39c2076df3b210ef663a76ff39118c5883d61) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Tweak title sizes in the README.](https://github.com/One-com/rightimage/commit/32067e128814041fa1b5130581b67b05f60073ac) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Send coverage data to coveralls and add badge.](https://github.com/One-com/rightimage/commit/a42cf218b758a5314205495aa7d7519f4c6a2c68) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Add comprehensive README.](https://github.com/One-com/rightimage/commit/7ef39c2076df3b210ef663a76ff39118c5883d61) ([Alex J Burke](mailto:alex@alexjeffburke.com))

### v0.2.1 (2019-02-28)

- [Ensure a rotation of zero is not passed to jpegtran.](https://github.com/alexjeffburke/rightimage/commit/5051bfb361469fafa92070ff5de399a23357fc06) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Correct a contentType in the test suite.](https://github.com/alexjeffburke/rightimage/commit/104c5a4b4c35314f0bc3928c175d7c7cc82054a7) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Fix a silly property name bug in b06a4f9 and add a test.](https://github.com/alexjeffburke/rightimage/commit/00d835bd77bc524fb1992732b089ad1c9c6ca212) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Ensure a rotation of zero is not passed to jpegtran.](https://github.com/One-com/rightimage/commit/5051bfb361469fafa92070ff5de399a23357fc06) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Correct a contentType in the test suite.](https://github.com/One-com/rightimage/commit/104c5a4b4c35314f0bc3928c175d7c7cc82054a7) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Fix a silly property name bug in b06a4f9 and add a test.](https://github.com/One-com/rightimage/commit/00d835bd77bc524fb1992732b089ad1c9c6ca212) ([Alex J Burke](mailto:alex@alexjeffburke.com))

### v0.2.0 (2019-02-28)

- [Switch to jpegtran for JPEGs on when rotating with no format change.](https://github.com/alexjeffburke/rightimage/commit/b06a4f9aecb91f4b7ff366a0273017e9a1161ab9) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Switch to jpegtran for JPEGs on when rotating with no format change.](https://github.com/One-com/rightimage/commit/b06a4f9aecb91f4b7ff366a0273017e9a1161ab9) ([Alex J Burke](mailto:alex@alexjeffburke.com))

### v0.1.1 (2019-02-18)

- [Ensure imageOptions can be omitted.](https://github.com/alexjeffburke/rightimage/commit/e27497f9bdaf72a002349e6caf2bb44616b339ab) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Ensure imageOptions can be omitted.](https://github.com/One-com/rightimage/commit/e27497f9bdaf72a002349e6caf2bb44616b339ab) ([Alex J Burke](mailto:alex@alexjeffburke.com))

### v0.1.0 (2019-01-29)

- [Add nyc coverage.](https://github.com/alexjeffburke/rightimage/commit/082028f69158a80f211925a2ced90c0a6de1875c) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Add the required gm depedency to CI.](https://github.com/alexjeffburke/rightimage/commit/49139981143b8d6974dc4097404e31424ddbf16c) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Ensure a custom rotation is applied on top of what is detected.](https://github.com/alexjeffburke/rightimage/commit/9f174441d04923d964e870bf6650d61be1d7e2e0) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Stringify imageOptions correctly so rotate can be set as a number.](https://github.com/alexjeffburke/rightimage/commit/e0270e5d57dd23f71288ca4696581b600c241e33) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Add rotation to the example app.](https://github.com/alexjeffburke/rightimage/commit/de31689959951f3cf31870dbbac3817497fb4f85) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [+16 more](https://github.com/alexjeffburke/rightimage/compare/082028f69158a80f211925a2ced90c0a6de1875c%5E...v0.1.0)
- [Add nyc coverage.](https://github.com/One-com/rightimage/commit/082028f69158a80f211925a2ced90c0a6de1875c) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Add the required gm depedency to CI.](https://github.com/One-com/rightimage/commit/49139981143b8d6974dc4097404e31424ddbf16c) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Ensure a custom rotation is applied on top of what is detected.](https://github.com/One-com/rightimage/commit/9f174441d04923d964e870bf6650d61be1d7e2e0) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Stringify imageOptions correctly so rotate can be set as a number.](https://github.com/One-com/rightimage/commit/e0270e5d57dd23f71288ca4696581b600c241e33) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [Add rotation to the example app.](https://github.com/One-com/rightimage/commit/de31689959951f3cf31870dbbac3817497fb4f85) ([Alex J Burke](mailto:alex@alexjeffburke.com))
- [+16 more](https://github.com/One-com/rightimage/compare/082028f69158a80f211925a2ced90c0a6de1875c%5E...v0.1.0)

8 changes: 5 additions & 3 deletions lib/createRightImagePipeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const {
supportedOutputTypes
} = require("./converter");

function arrangeImageTransformsAndApply(contentType, imageOptions) {
function arrangeImageTransformsAndApply(contentType, imageOptions, maxInputPixels) {
const [, type] = contentType.split("/");

imageOptions = { ...imageOptions };
Expand Down Expand Up @@ -46,7 +46,7 @@ function arrangeImageTransformsAndApply(contentType, imageOptions) {
}

const expressProcessImageResult = converter.createPipeline(
{ type },
{ type, maxInputPixels },
operations
);

Expand All @@ -72,6 +72,7 @@ function createRightImagePipeline(
{
contentType,
inputStream,
maxInputPixels,
imageOptions = null,
postProcessImageOptions,
...options
Expand Down Expand Up @@ -110,7 +111,8 @@ function createRightImagePipeline(

const outputContentType = makeOutputContentType(
contentType,
imageOptions
imageOptions,
maxInputPixels
);
const [, type] = outputContentType.split("/");
if (!supportedOutputTypes.has(type)) {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rightimage",
"version": "1.2.0",
"name": "@one.com/rightimage",
"version": "1.3.0-0",
"description": "Stream images with dynamic re-orientation",
"main": "lib/index.js",
"files": [
Expand Down