-
Notifications
You must be signed in to change notification settings - Fork 60
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
failed create valid png file with the example data. #6
Comments
I failed to reproduce this issue: I ran your exact command with your exact points, and it created the following image, which I can open in an image viewer: Can you reproduce this issue if you recompile ( |
Hi, I've noticed this issue too, only on windows. Identical commands on Mac seem to run fine, when run on windows the outputted png does seem corrupted, |
Aha, that is great information (that I completely missed, sorry). |
Great! It's working as you tell. But I am a beginner I don't know how to create a PR. By the way, why here we can't simply use "lodepng::save_file(png, "heatmap.png");" instead of "std::cout.write..."? |
points:
12 123
52 12
321 94
87 483
60 10
90 470
use command command:
500 500 10 < points.txt > heatmap.png
it create an empty png file. i open this file in photoshop, it report an error:
file parse mode can not parse this file.
The text was updated successfully, but these errors were encountered: