change dpi buffer
change dpi from a buffer source
Do not forget to also add a test please.
Ok sorry, my bad, we have already a PR doing this: https://github.com/shutterstock/changeDPI/pull/8 that includes types detection and test. Did you try that code? any reason why you feel like this version is better?
Ok sorry, my bad, we have already a PR doing this: #8 that includes types detection and test. Did you try that code? any reason why you feel like this version is better?
Sorry, I don't see it. So you can reject this pr
I do not need to reject it, i wonder if you tried it and if it fits your need. If it does, i could merge that and we could try to polish what is missing if you want to help anyway with a contribution.
I do not need to reject it, i wonder if you tried it and if it fits your need. If it does, i could merge that and we could try to polish what is missing if you want to help anyway with a contribution.
My project needs to save an image with 300 dpi from nodejs with Jipm. Jimp can get buffer and save to file, but it can't set dpi. so I need this feature for my project. btw, Jimp already defined image type, therefore, I don't need auto-detect format of the image