Commit c7103ce3 authored by Davis King's avatar Davis King

Changed the serialization routine for bgr_pixels to store the pixels

in BGR order rather than RGB.
parent d9834129
......@@ -1169,9 +1169,9 @@ namespace dlib
{
try
{
serialize(item.red,out);
serialize(item.green,out);
serialize(item.blue,out);
serialize(item.green,out);
serialize(item.red,out);
}
catch (serialization_error& e)
{
......@@ -1188,9 +1188,9 @@ namespace dlib
{
try
{
deserialize(item.red,in);
deserialize(item.green,in);
deserialize(item.blue,in);
deserialize(item.green,in);
deserialize(item.red,in);
}
catch (serialization_error& e)
{
......
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