Skip to content

Support a DPI option in the transcoders.#13

Open
blinks wants to merge 1 commit intopallix:masterfrom
blinks:patch-1
Open

Support a DPI option in the transcoders.#13
blinks wants to merge 1 commit intopallix:masterfrom
blinks:patch-1

Conversation

@blinks
Copy link
Copy Markdown

@blinks blinks commented Sep 6, 2018

Uses KEY_PIXEL_UNIT_TO_MILLIMETER and a conversion rate.

Could support the option directly, but DPI is a much more common concept than px -> mm.

Uses KEY_PIXEL_UNIT_TO_MILLIMETER and a conversion rate.

Could support the option directly, but DPI is a much more common concept than px -> mm.
@pallix
Copy link
Copy Markdown
Owner

pallix commented Sep 7, 2018

Thanks for your work.

Could you add a test for the option?

@blinks
Copy link
Copy Markdown
Author

blinks commented Sep 7, 2018

Maybe! I'll take a look in a bit.

@pallix
Copy link
Copy Markdown
Owner

pallix commented Sep 10, 2018

Cool! You don't need a complex test and you will see there is already a test file for the transcoder which should ease the work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants