Compare commits
4 Commits
2e6637b65d
...
2b88e3928f
| Author | SHA1 | Date | |
|---|---|---|---|
| 2b88e3928f | |||
| e31eab7e80 | |||
| 6266f481cd | |||
| a6d9f2c525 |
@ -75,7 +75,7 @@ class UpdateListener : public efsw::FileWatchListener {
|
|||||||
|
|
||||||
std::string flipped_filename =
|
std::string flipped_filename =
|
||||||
dir + "flipped_" + filename.substr( 0, filename.length() - 3 ) + "png";
|
dir + "flipped_" + filename.substr( 0, filename.length() - 3 ) + "png";
|
||||||
//stbi_write_jpg(flipped_filename.c_str(), width, height, channels, image_data, 100);
|
|
||||||
stbi_write_png( flipped_filename.c_str(), width, height, channels, image_data,
|
stbi_write_png( flipped_filename.c_str(), width, height, channels, image_data,
|
||||||
width * channels );
|
width * channels );
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user