Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add convert-svg-to-jpeg package to convert SVG to JPEG #18

Merged
merged 1 commit into from
Nov 3, 2017
Merged

Conversation

neocotic
Copy link
Owner

@neocotic neocotic commented Nov 3, 2017

This PR takes advantage of the new modular packages (see #17) and adds a new SVG converter for JPEG.

Since JPEGs do not support transparency, any transparent regions on the SVG will be white. This will be controllable further when #14 has been implemented.

A new quality API and CLI option is also available for this converter alone (i.e. not applicable for convert-svg-to-png). It accepts a value between 0-100 (inclusive) that can be used to control the quality of the JPEG output, with a default value of 100, for maximum quality.

@neocotic neocotic added this to the 0.3.0 milestone Nov 3, 2017
@neocotic neocotic self-assigned this Nov 3, 2017
@neocotic neocotic merged commit 162b9c8 into develop Nov 3, 2017
@neocotic neocotic deleted the jpeg branch November 3, 2017 13:20
@neocotic neocotic changed the title New package to convert SVG to JPEG Add convert-svg-to-jpeg package to convert SVG to JPEG Nov 3, 2017
@neocotic neocotic mentioned this pull request Nov 3, 2017
4 tasks
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant