Open railsstudent opened 3 years ago
Jimp.read(filename, (err, lenna) => {
if (err) throw err;
lenna
.write(lena-small-bw4-${Date.now()}.jpg
); // save
});
I have the same problem converting bitmap to png. It works with 24bits bitmap but I have incorrect color result for 1, 4, 8, 16 (unsupported), 32 bits bitmap. Help appreciate.
Expected Behavior
The converted JPG image should maintain the same color scheme.
Current Behavior
The colors of the converted JPG image fall in the red spectrum
Failure Information (for bugs)
Screenshots
Original image
Outputted image
Steps to Reproduce
Failure Logs