@@ -68,67 +68,68 @@ the case, please open an issue and I will fix the tables.
68
68
- :x : - This is not supported and will cause loss of data
69
69
- N/A - The source format does not support this so treat this as a :heavy_check_mark :
70
70
71
- | Format| .ora| .pdn| .xcf| .psd| .tiff/ .tif| .webp| .gif| .lsr|
72
- | ------| ----| ----| ----| ----| -----| ----| -----| ----|
73
- | Read | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : |
74
- | Layers| :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : |
75
- | Groups| :heavy_check_mark : | N/A | :heavy_check_mark : | :heavy_check_mark : | N/A| N/A| N/A| :heavy_check_mark : |
76
- | Write | :heavy_check_mark : | :x : | :x : | :x : | :warning : | :warning : | :warning : | :heavy_check_mark : |
71
+ | Format | .ora | .pdn | .xcf | .psd | .tiff/ .tif | .webp | .gif | .lsr |
72
+ | ------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ |
73
+ | Read | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : |
74
+ | Layers | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : |
75
+ | Groups | :heavy_check_mark : | N/A | :heavy_check_mark : | :heavy_check_mark : | N/A | N/A | N/A | :heavy_check_mark : |
76
+ | Write | :heavy_check_mark : | :x : | :x : | :x : | :warning : | :warning : | :warning : | :heavy_check_mark : |
77
77
78
78
#### Reading - Group
79
79
80
- | Format | .ora| .pdn| .xcf| .psd| .tiff/ .tif| .webp| .gif| .lsr|
81
- | ----------| ----| ----| ----| ----| -----| ----| -----| ----|
82
- | Name | :heavy_check_mark : | N/A | :heavy_check_mark : | :heavy_check_mark : | N/A | N/A | N/A | :heavy_check_mark : |
83
- | Dimensions| :warning : | N/A | :heavy_check_mark : | :heavy_check_mark : | N/A | N/A | N/A | :heavy_check_mark : |
84
- | Offsets | :heavy_check_mark : | N/A | :heavy_check_mark : | :heavy_check_mark : | N/A | N/A | N/A | :heavy_check_mark : |
85
- | Opacity | :heavy_check_mark : | N/A | :heavy_check_mark : | :heavy_check_mark : | N/A | N/A | N/A | N/A |
86
- | Visibility| :heavy_check_mark : | N/A | :heavy_check_mark : | :heavy_check_mark : | N/A | N/A | N/A | N/A |
87
- | Blend Mode| :heavy_check_mark : | N/A | :heavy_check_mark : | :heavy_check_mark : | N/A| N/A | N/A | N/A |
80
+ | Format | .ora | .pdn | .xcf | .psd | .tiff/ .tif | .webp | .gif | .lsr |
81
+ | ---------- | ------------------ | ---- | ------------------ | ------------------ | ----------- | ----- | ---- | ------------------ |
82
+ | Name | :heavy_check_mark : | N/A | :heavy_check_mark : | :heavy_check_mark : | N/A | N/A | N/A | :heavy_check_mark : |
83
+ | Dimensions | :warning : | N/A | :heavy_check_mark : | :heavy_check_mark : | N/A | N/A | N/A | :heavy_check_mark : |
84
+ | Offsets | :heavy_check_mark : | N/A | :heavy_check_mark : | :heavy_check_mark : | N/A | N/A | N/A | :heavy_check_mark : |
85
+ | Opacity | :heavy_check_mark : | N/A | :heavy_check_mark : | :heavy_check_mark : | N/A | N/A | N/A | N/A |
86
+ | Visibility | :heavy_check_mark : | N/A | :heavy_check_mark : | :heavy_check_mark : | N/A | N/A | N/A | N/A |
87
+ | Blend Mode | :heavy_check_mark : | N/A | :heavy_check_mark : | :heavy_check_mark : | N/A | N/A | N/A | N/A |
88
88
89
89
#### Reading - Layer
90
90
91
- | Format | .ora| .pdn| .xcf| .psd| .tiff/ .tif| .webp| .gif| .lsr|
92
- | ----------| ----| ----| ----| ----| -----| ----| -----| ----|
93
- | Name | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | :warning : | :warning : | :heavy_check_mark : |
94
- | Dimensions| :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : |
95
- | Offsets | :heavy_check_mark : | N/A | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | N/A| N/A| N/A |
96
- | Opacity | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | N/A | N/A | N/A | N/A |
97
- | Visibility| :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | N/A | N/A | N/A | N/A |
98
- | Blend Mode| :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | N/A| N/A | N/A | N/A |
91
+ | Format | .ora | .pdn | .xcf | .psd | .tiff/ .tif | .webp | .gif | .lsr |
92
+ | ---------- | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ | ------------------ |
93
+ | Name | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | :warning : | :warning : | :heavy_check_mark : |
94
+ | Dimensions | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : |
95
+ | Offsets | :heavy_check_mark : | N/A | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | N/A | N/A | N/A |
96
+ | Opacity | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | N/A | N/A | N/A | N/A |
97
+ | Visibility | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | N/A | N/A | N/A | N/A |
98
+ | Blend Mode | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | :heavy_check_mark : | N/A | N/A | N/A | N/A |
99
99
100
100
#### Writing - Group
101
101
102
- | Format | .ora| .pdn| .xcf| .psd| .tiff/ .tif| .webp| .gif| .lsr|
103
- | ----------| ----| ----| ----| ----| -----| ----| -----| ----|
104
- | Name | :heavy_check_mark : | :x : | :x : | :x : | :x : | :x : | :x : | :heavy_check_mark : |
105
- | Dimensions| :heavy_check_mark : | :x : | :x : | :x : | :warning : | :warning : | :warning : | :heavy_check_mark : |
106
- | Offsets | :heavy_check_mark : | :x : | :x : | :x : | :warning : | :warning : | :warning : | :heavy_check_mark : |
107
- | Opacity | :heavy_check_mark : | :x : | :x : | :x : | :warning : | :warning : | :warning : | :warning : |
108
- | Visibility| :heavy_check_mark : | :x : | :x : | :x : | :warning : | :warning : | :warning : | :warning : |
109
- | Blend Mode| :heavy_check_mark : | :x : | :x : | :x : | :x : | :x : | :x : | :x : |
102
+ | Format | .ora | .pdn | .xcf | .psd | .tiff/ .tif | .webp | .gif | .lsr |
103
+ | ---------- | ------------------ | ---- | ---- | ---- | ----------- | --------- | --------- | ------------------ |
104
+ | Name | :heavy_check_mark : | :x : | :x : | :x : | :x : | :x : | :x : | :heavy_check_mark : |
105
+ | Dimensions | :heavy_check_mark : | :x : | :x : | :x : | :warning : | :warning : | :warning : | :heavy_check_mark : |
106
+ | Offsets | :heavy_check_mark : | :x : | :x : | :x : | :warning : | :warning : | :warning : | :heavy_check_mark : |
107
+ | Opacity | :heavy_check_mark : | :x : | :x : | :x : | :warning : | :warning : | :warning : | :warning : |
108
+ | Visibility | :heavy_check_mark : | :x : | :x : | :x : | :warning : | :warning : | :warning : | :warning : |
109
+ | Blend Mode | :heavy_check_mark : | :x : | :x : | :x : | :x : | :x : | :x : | :x : |
110
110
111
111
``` none
112
112
Layers are extracted from groups and saved to TIFF/ GIF or WEBP
113
113
```
114
114
115
115
#### Writing - Layer
116
116
117
- | Format | .ora| .pdn| .xcf| .psd| .tiff/ .tif| .webp| .gif| .lsr|
118
- | ----------| ----| ----| ----| ----| -----| ----| -----| ----|
119
- | Name | :heavy_check_mark : | :x : | :x : | :x : | :x : | :x : | :x : | :warning : |
120
- | Dimensions| :heavy_check_mark : | :x : | :x : | :x : | :warning : | :warning : | :warning : | :warning : |
121
- | Offsets | :heavy_check_mark : | :x : | :x : | :x : | :warning : | :warning : | :warning : | :warning : |
122
- | Opacity | :heavy_check_mark : | :x : | :x : | :x : | :warning : | :warning : | :warning : | :warning : |
123
- | Visibility| :heavy_check_mark : | :x : | :x : | :x : | :warning : | :warning : | :warning : | :warning : |
124
- | Blend Mode| :heavy_check_mark : | :x : | :x : | :x : | :x : | :x : | :x : | :x : |
117
+ | Format | .ora | .pdn | .xcf | .psd | .tiff/ .tif | .webp | .gif | .lsr |
118
+ | ---------- | ------------------ | ---- | ---- | ---- | ----------- | --------- | --------- | --------- |
119
+ | Name | :heavy_check_mark : | :x : | :x : | :x : | :x : | :x : | :x : | :warning : |
120
+ | Dimensions | :heavy_check_mark : | :x : | :x : | :x : | :warning : | :warning : | :warning : | :warning : |
121
+ | Offsets | :heavy_check_mark : | :x : | :x : | :x : | :warning : | :warning : | :warning : | :warning : |
122
+ | Opacity | :heavy_check_mark : | :x : | :x : | :x : | :warning : | :warning : | :warning : | :warning : |
123
+ | Visibility | :heavy_check_mark : | :x : | :x : | :x : | :warning : | :warning : | :warning : | :warning : |
124
+ | Blend Mode | :heavy_check_mark : | :x : | :x : | :x : | :x : | :x : | :x : | :x : |
125
125
126
126
``` none
127
127
Layers are rendered with offsets before being written to TIFF/ GIF or WEBP
128
128
First child layers are placed in a group when written to LSR
129
129
```
130
130
131
131
## .layered
132
+
132
133
.layered is highly inspired by the open raster format and aims to provide an
133
134
exchange format in the cases when saving in ora would cause unacceptable data
134
135
loss. .layered has been designed so that if the format became deprecated and no
@@ -221,6 +222,7 @@ tiff.getFlattenLayers().save(THISDIR + "/base24(tiff).png")
221
222
```
222
223
223
224
## Documentation
225
+
224
226
See the [ Docs] ( /DOCS/ ) for more information.
225
227
226
228
## Install With PIP
@@ -234,6 +236,7 @@ Head to https://pypi.org/project/layeredimage/ for more info
234
236
## Language information
235
237
236
238
### Built for
239
+
237
240
This program has been written for Python versions 3.7 - 3.10 and has been tested with both 3.7 and
238
241
3.10
239
242
@@ -246,6 +249,7 @@ choco install python
246
249
```
247
250
248
251
### Windows - Python.org
252
+
249
253
To install Python, go to https://www.python.org/downloads/windows/ and download the latest
250
254
version.
251
255
272
276
```
273
277
274
278
### MacOS - Python.org
279
+
275
280
To install Python, go to https://www.python.org/downloads/macos/ and download the latest
276
281
version.
277
282
@@ -330,38 +335,45 @@ https://help.github.com/en/desktop/contributing-to-projects/cloning-a-repository
330
335
## Community Files
331
336
332
337
### Licence
338
+
333
339
MIT License
334
340
Copyright (c) FredHappyface
335
341
(See the [ LICENSE] ( /LICENSE.md ) for more information.)
336
342
337
343
### Changelog
344
+
338
345
See the [ Changelog] ( /CHANGELOG.md ) for more information.
339
346
340
347
### Code of Conduct
348
+
341
349
Online communities include people from many backgrounds. The * Project*
342
350
contributors are committed to providing a friendly, safe and welcoming
343
351
environment for all. Please see the
344
352
[ Code of Conduct] ( https://github.com/FHPythonUtils/.github/blob/master/CODE_OF_CONDUCT.md )
345
353
for more information.
346
354
347
355
### Contributing
356
+
348
357
Contributions are welcome, please see the
349
358
[ Contributing Guidelines] ( https://github.com/FHPythonUtils/.github/blob/master/CONTRIBUTING.md )
350
359
for more information.
351
360
352
361
### Security
362
+
353
363
Thank you for improving the security of the project, please see the
354
364
[ Security Policy] ( https://github.com/FHPythonUtils/.github/blob/master/SECURITY.md )
355
365
for more information.
356
366
357
367
### Support
368
+
358
369
Thank you for using this project, I hope it is of use to you. Please be aware that
359
370
those involved with the project often do so for fun along with other commitments
360
371
(such as work, family, etc). Please see the
361
372
[ Support Policy] ( https://github.com/FHPythonUtils/.github/blob/master/SUPPORT.md )
362
373
for more information.
363
374
364
375
### Rationale
376
+
365
377
The rationale acts as a guide to various processes regarding projects such as
366
378
the versioning scheme and the programming styles used. Please see the
367
379
[ Rationale] ( https://github.com/FHPythonUtils/.github/blob/master/RATIONALE.md )
0 commit comments