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:
parent
70e1a40a1d
commit
b2435cc021
@ -305,7 +305,7 @@ PersonView::Save()
|
||||
if (fPictureView->Bitmap()) {
|
||||
BBitmapStream stream(fPictureView->Bitmap());
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
@ -62,7 +62,7 @@ private:
|
||||
BMenuItem* fRevert;
|
||||
BMenuItem* fSave;
|
||||
BMenuItem* fUndo;
|
||||
PersonView* fView;
|
||||
PersonView* fView;
|
||||
|
||||
BString fNameAttribute;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user