You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if it's technically an issue with this library or something else but here goes:
I'm using sharp (the nodejs libvips binding) to perform some image manipulation like resizing / cropping etc.
I read the image file from disk into sharp, then output the resized image to a buffer which is returned via a node http server. I'm trying to use a combination of the get-pixels, apply-cube-lut and save-pixels packages to add a colour grading step.
The problem is that the pixels data I get in the getPixels callback is truncated and I only see the top 5th / 4th of the original image transformed, the rest is black. Do you have any suggestions on where to look to fix this?
The text was updated successfully, but these errors were encountered:
I'm not sure if it's technically an issue with this library or something else but here goes:
I'm using
sharp
(the nodejs libvips binding) to perform some image manipulation like resizing / cropping etc.I read the image file from disk into sharp, then output the resized image to a buffer which is returned via a node
http
server. I'm trying to use a combination of theget-pixels
,apply-cube-lut
andsave-pixels
packages to add a colour grading step.The problem is that the pixels data I get in the
getPixels
callback is truncated and I only see the top 5th / 4th of the original image transformed, the rest is black. Do you have any suggestions on where to look to fix this?The text was updated successfully, but these errors were encountered: