Save picture in JPEG format instead of PNG, for space consideration.

Small style fix.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40667 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Philippe Houdoin
2011-02-24 17:40:26 +00:00
parent 70e1a40a1d
commit b2435cc021
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -305,7 +305,7 @@ PersonView::Save()
if (fPictureView->Bitmap()) { if (fPictureView->Bitmap()) {
BBitmapStream stream(fPictureView->Bitmap()); BBitmapStream stream(fPictureView->Bitmap());
BTranslatorRoster* roster = BTranslatorRoster::Default(); BTranslatorRoster* roster = BTranslatorRoster::Default();
roster->Translate(&stream, NULL, NULL, fFile, B_PNG_FORMAT, roster->Translate(&stream, NULL, NULL, fFile, B_JPEG_FORMAT,
B_TRANSLATOR_BITMAP); B_TRANSLATOR_BITMAP);
} }
} }
+1 -1
View File
@@ -62,7 +62,7 @@ private:
BMenuItem* fRevert; BMenuItem* fRevert;
BMenuItem* fSave; BMenuItem* fSave;
BMenuItem* fUndo; BMenuItem* fUndo;
PersonView* fView; PersonView* fView;
BString fNameAttribute; BString fNameAttribute;
}; };