FreeRDP
libwinpr/utils/image.h
1
/*
2
* WinPR: Windows Portable Runtime
3
* Image Utils
4
*
5
* Copyright 2024 Armin Novak <anovak@thincast.com>
6
* Copyright 2024 Thincast Technologies GmbH
7
*
8
* Licensed under the Apache License, Version 2.0 (the "License");
9
* you may not use this file except in compliance with the License.
10
* You may obtain a copy of the License at
11
*
12
* http://www.apache.org/licenses/LICENSE-2.0
13
*
14
* Unless required by applicable law or agreed to in writing, software
15
* distributed under the License is distributed on an "AS IS" BASIS,
16
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
* See the License for the specific language governing permissions and
18
* limitations under the License.
19
*/
20
21
#ifndef LIBWINPR_UTILS_IMAGE_H
22
#define LIBWINPR_UTILS_IMAGE_H
23
24
#include <winpr/wtypes.h>
25
#include <winpr/stream.h>
26
#include <winpr/image.h>
27
28
BOOL readBitmapFileHeader(
wStream
* s,
WINPR_BITMAP_FILE_HEADER
* bf);
29
BOOL writeBitmapFileHeader(
wStream
* s,
const
WINPR_BITMAP_FILE_HEADER
* bf);
30
31
BOOL readBitmapInfoHeader(
wStream
* s,
WINPR_BITMAP_INFO_HEADER
* bi,
size_t
* poffset);
32
BOOL writeBitmapInfoHeader(
wStream
* s,
const
WINPR_BITMAP_INFO_HEADER
* bi);
33
34
#endif
/* LIBWINPR_UTILS_IMAGE_H */
WINPR_BITMAP_FILE_HEADER
Definition:
include/winpr/image.h:29
WINPR_BITMAP_INFO_HEADER
Definition:
include/winpr/image.h:38
wStream
Definition:
include/winpr/stream.h:40
winpr
libwinpr
utils
image.h
Generated by
1.9.1