summaryrefslogtreecommitdiff
path: root/samples/fx_lpng/src/fx_pngwrite.c
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-02-23 15:59:57 -0800
committerTom Sepez <tsepez@chromium.org>2015-02-23 15:59:57 -0800
commitef1e85caf492e1b9bf9803647d3c5db1abea77c7 (patch)
tree862726a78c398a617968e4dfde2ef105b52acf77 /samples/fx_lpng/src/fx_pngwrite.c
parent28ddd48bfd84c55cc51d0b16fa533c51affdeb5b (diff)
downloadpdfium-ef1e85caf492e1b9bf9803647d3c5db1abea77c7.tar.xz
Backport PNG output format to origin/master branch.
The pdfium library itself does not support the format, but the test utility can convert to this output format. GN build can't be tested standalone, so push this out to the next CL. R=jam@chromium.org Review URL: https://codereview.chromium.org/950113002
Diffstat (limited to 'samples/fx_lpng/src/fx_pngwrite.c')
-rw-r--r--samples/fx_lpng/src/fx_pngwrite.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/samples/fx_lpng/src/fx_pngwrite.c b/samples/fx_lpng/src/fx_pngwrite.c
new file mode 100644
index 0000000000..4434fd0cb4
--- /dev/null
+++ b/samples/fx_lpng/src/fx_pngwrite.c
@@ -0,0 +1,10 @@
+// Copyright 2014 PDFium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+
+#ifdef _MSC_VER
+#define _CRT_SECURE_NO_WARNINGS
+#endif
+#include "../lpng_v163/fx_pngwrite.c"