Skip to content

Commit d82fa51

Browse files
committed
WebP module and example
1 parent a43fe96 commit d82fa51

13 files changed

Lines changed: 602 additions & 168 deletions

File tree

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<provider
2+
android:name="android.support.v4.content.FileProvider"
3+
android:authorities="@SYS_PACKAGE_DOT@.provider"
4+
android:exported="false"
5+
android:grantUriPermissions="true">
6+
<!-- resource file to create -->
7+
<meta-data
8+
android:name="android.support.FILE_PROVIDER_PATHS"
9+
android:resource="@xml/file_paths">
10+
</meta-data>
11+
</provider>

apps/DemoCameraWebP/FONTS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cmss.ttf 7 18 ascii

apps/DemoCameraWebP/MODULES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
config eventloop ln_core ln_glcore ln_glgui gd webp camera

apps/DemoCameraWebP/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
## DemoCameraWebp
2+
3+
This application is a modified version of the DemoCamera application.
4+
It allows you to take a picture, and then saves the picture in WebP
5+
format.
6+
7+
It has been produced with the support of [NLnet](https://nlnet.nl/).
8+
9+
[<img alt="NLnet logo" width="300px" src="nlnet.png" />](https://nlnet.nl/)

apps/DemoCameraWebP/VERSION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1.0

apps/DemoCameraWebP/artwork.eps

Lines changed: 280 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/DemoCameraWebP/artwork.obj

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
% TGIF
2+
state(0,33,100,0,0,1,16,1,9,1,1,0,0,1,0,1,0,'Courier',0,17,0,0,1,5,0,0,1,1,0,16,1,0,1,1,1,0,1056,1497,0,0,2880).
3+
unit("1 pixel/pixel").
4+
generated_by("pstoedit",0,"4.3").
5+
page(1,"",1).
6+
polygon('#41e81d',37,[
7+
99.5556,1278.05,87.5556,1302.05,77.3819,1302.05,77.3819,1291.71,53.3819,1291.71,53.3819,1302.05,43.5556,1302.05,41.9931,1302.05,
8+
37.3195,1303.31,32.2361,1306.74,28.8055,1311.83,27.5556,1316.49,27.5556,1318.05,27.5556,1430.05,27.5556,1431.61,28.8055,1436.28,
9+
32.2361,1441.37,37.3195,1444.8,41.9931,1446.05,43.5556,1446.05,219.556,1446.05,221.111,1446.05,225.778,1444.8,230.868,1441.37,
10+
234.292,1436.28,235.556,1431.61,235.556,1430.05,235.556,1318.05,235.556,1316.49,234.292,1311.83,230.868,1306.74,225.778,1303.31,
11+
221.111,1302.05,219.556,1302.05,175.556,1302.05,163.556,1278.05,99.5556,1278.05],1,0,1,0,1,0,0,0,0,0,'0',
12+
"0000000000",[
13+
]).
14+
polygon('#777777',37,[
15+
99.5556,1278.05,87.5556,1302.05,77.3819,1302.05,77.3819,1291.71,53.3819,1291.71,53.3819,1302.05,43.5556,1302.05,41.9931,1302.05,
16+
37.3195,1303.31,32.2361,1306.74,28.8055,1311.83,27.5556,1316.49,27.5556,1318.05,27.5556,1430.05,27.5556,1431.61,28.8055,1436.28,
17+
32.2361,1441.37,37.3195,1444.8,41.9931,1446.05,43.5556,1446.05,219.556,1446.05,221.111,1446.05,225.778,1444.8,230.868,1441.37,
18+
234.292,1436.28,235.556,1431.61,235.556,1430.05,235.556,1318.05,235.556,1316.49,234.292,1311.83,230.868,1306.74,225.778,1303.31,
19+
221.111,1302.05,219.556,1302.05,175.556,1302.05,163.556,1278.05,99.5556,1278.05],0,5.03938,1,0,2,0,0,0,0,0,'5',
20+
"0000000000",[
21+
]).
22+
polygon('#ffffff',41,[
23+
187.556,1374.05,187.556,1376.87,186.416,1385.34,183.152,1395.85,177.986,1405.36,171.153,1413.65,162.861,1420.48,153.354,1425.65,
24+
142.84,1428.92,134.375,1430.05,131.556,1430.05,128.729,1430.05,120.264,1428.92,109.75,1425.65,100.243,1420.48,91.9515,1413.65,
25+
85.118,1405.36,79.9515,1395.85,76.6875,1385.34,75.5556,1376.87,75.5556,1374.05,75.5556,1371.23,76.6875,1362.76,79.9515,1352.25,
26+
85.118,1342.74,91.9515,1334.45,100.243,1327.62,109.75,1322.45,120.264,1319.19,128.729,1318.05,131.556,1318.05,134.375,1318.05,
27+
142.84,1319.19,153.354,1322.45,162.861,1327.62,171.153,1334.45,177.986,1342.74,183.152,1352.25,186.416,1362.76,187.556,1371.23,
28+
187.556,1374.05],1,0,1,0,3,0,0,0,0,0,'0',
29+
"00000000000",[
30+
]).
31+
polygon('#000000',41,[
32+
187.556,1374.05,187.556,1376.87,186.416,1385.34,183.152,1395.85,177.986,1405.36,171.153,1413.65,162.861,1420.48,153.354,1425.65,
33+
142.84,1428.92,134.375,1430.05,131.556,1430.05,128.729,1430.05,120.264,1428.92,109.75,1425.65,100.243,1420.48,91.9515,1413.65,
34+
85.118,1405.36,79.9515,1395.85,76.6875,1385.34,75.5556,1376.87,75.5556,1374.05,75.5556,1371.23,76.6875,1362.76,79.9515,1352.25,
35+
85.118,1342.74,91.9515,1334.45,100.243,1327.62,109.75,1322.45,120.264,1319.19,128.729,1318.05,131.556,1318.05,134.375,1318.05,
36+
142.84,1319.19,153.354,1322.45,162.861,1327.62,171.153,1334.45,177.986,1342.74,183.152,1352.25,186.416,1362.76,187.556,1371.23,
37+
187.556,1374.05],0,5.03938,1,0,4,0,0,0,0,0,'5',
38+
"00000000000",[
39+
]).

apps/DemoCameraWebP/artwork.png

7.83 KB
Loading

0 commit comments

Comments
 (0)