We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When set float scale like 2.9459 in options of convertFile puppeteer throw error
Invalid parameters Failed to deserialize params.width - BINDINGS: int32 value expected
In file /convert-svg-core/src/Converter.js:298 must to fix like: if (options.scale !== 1) { dimensions.height *= options.scale; dimensions.height = Math.ceil(dimensions.height); dimensions.width *= options.scale; dimensions.width = Math.ceil(dimensions.width); await this[_setDimensions](page, dimensions); }
if (options.scale !== 1) { dimensions.height *= options.scale; dimensions.height = Math.ceil(dimensions.height); dimensions.width *= options.scale; dimensions.width = Math.ceil(dimensions.width); await this[_setDimensions](page, dimensions); }
After that all works.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When set float scale like 2.9459 in options of convertFile puppeteer throw error
In file /convert-svg-core/src/Converter.js:298 must to fix like:
if (options.scale !== 1) { dimensions.height *= options.scale; dimensions.height = Math.ceil(dimensions.height); dimensions.width *= options.scale; dimensions.width = Math.ceil(dimensions.width); await this[_setDimensions](page, dimensions); }
After that all works.
The text was updated successfully, but these errors were encountered: