Commit e76bd52a authored by Amir Mohammadi's avatar Amir Mohammadi
Browse files

use TRUE instead of true (#8)

Fixes https://github.com/bioidiap/bob.io.image/issues/7
parent c3e75519
...@@ -271,7 +271,7 @@ static void im_save (const std::string& filename, const bob::io::base::array::in ...@@ -271,7 +271,7 @@ static void im_save (const std::string& filename, const bob::io::base::array::in
jpeg_set_quality(&cinfo, s_jpeg_quality, TRUE); jpeg_set_quality(&cinfo, s_jpeg_quality, TRUE);
// 4. // 4.
jpeg_start_compress(&cinfo, true); jpeg_start_compress(&cinfo, TRUE);
// Writes content // Writes content
if(info.dtype == bob::io::base::array::t_uint8) { if(info.dtype == bob::io::base::array::t_uint8) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment