Changed the serialization routine for bgr_pixels to store the pixels

in BGR order rather than RGB.
This commit is contained in:
Davis King 2011-08-25 19:50:13 -04:00
parent d983412935
commit c7103ce3d5
1 changed files with 4 additions and 4 deletions

View File

@ -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)
{