Issue 318 in webp: WebPEncodeRGBA not found in precompiled ios framework

18 views
Skip to first unread message

tapani.s… via monorail

unread,
Nov 27, 2016, 4:00:11 PM11/27/16
to webp-d...@webmproject.org
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 318 by tapani.s...@gmail.com: WebPEncodeRGBA not found in precompiled ios framework
https://bugs.chromium.org/p/webp/issues/detail?id=318

What steps will reproduce the problem?
1. #import encode.h in the bridging header
2. Call WebPEncodeRGBA in Swift
3. Build

What is the expected output? What do you see instead?

Building succeeds

What version of the product are you using? On what operating system?

0.5.1

Please provide any additional information below.

The function is "implemented" in picture.h with ENCODE_FUNC definition. As #defined symbols don't get exported to the compiled binaries you should create a real function or export the static function Encode and WebPPictureImportRGB and copy the define things to encode.h.

#define ENCODE_FUNC(NAME, IMPORTER)...
ENCODE_FUNC(WebPEncodeRGB, WebPPictureImportRGB)


--
You received this message because:
1. The project was configured to send all issue notifications to this address

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

jz… via monorail

unread,
Nov 28, 2016, 7:09:48 PM11/28/16
to webp-d...@webmproject.org
Updates:
Mergedinto: 307
Status: Duplicate

Comment #1 on issue 318 by jz...@google.com: WebPEncodeRGBA not found in precompiled ios framework
https://bugs.chromium.org/p/webp/issues/detail?id=318#c1

(No comment was entered for this change.)
Reply all
Reply to author
Forward
0 new messages