FaceGen 3 SDKs Reference
Loading...
Searching...
No Matches
fimBmpIo.hpp
1//
2// Copyright (c) Singular Inversions Inc. 2010
3//
4// Authors: Andrew Beatty
5// Created: July 7, 2010
6//
7
8
9#ifndef FIMBMPIO_HPP
10#define FIMBMPIO_HPP
11
12#include "fimImg.hpp"
13#include "FgSerial.hpp"
14
15namespace Fg {
16
17// Only supports most common variant of old-style BMP.
18// Only for Photofit, avoid using otherwise:
19bool
20fg3ReadBmpSimple(
21 String8 const & fname,
22 FimImgRgbaUbC & img);
23
24bool
25fg3ReadBmpSimple(
26 String8 const & fname,
27 FimImgUbC & img);
28
29// OK to use:
30bool
31fg3WriteBmp(
32 String8 const & fname,
33 const FimImgRgbaUbC & img);
34
35}
36
37#endif
38