-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
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
Density option is broken. #162
Comments
I have tested the 'PDF2Pic' library manually, by inserting higher values, when setting public gmBaseCommand(stream: fs.ReadStream, filename: string): gm.State {
return this.gm(stream, filename)
.density(300, 300) // 300, instead of default 72
... Unfortunatelly, still no luck. It appears the |
Hi @Zirafnik, I tested different density options and I can see difference in the output. |
I'll close the issue. Feel free to submit more info if you think the problem is in pdf2pic. |
Density option has no effect on the final result.
I have flied through the library code and at first glance it seems that the problem is not on 'pdf2pic' end, as all the
gm
calls seem to be okay.But none of the dependencies upstream report this issue. Not the node
gm
library we are using, and not the GraphicsMagick itself.It would be great if somebody could test the
gm
dependency alone, and see if the problem is coming from there. Ifdensity
works ingm
, then the problem lies here.The text was updated successfully, but these errors were encountered: