76d5a4949f
Update copyright years
2023-02-23 15:50:28 -05:00
d34db5e2ea
Fix crash when selecting a export filetype on macOS 12
2023-02-23 15:46:56 -05:00
ef10d11098
Insert more error checks
2022-11-21 11:40:05 -05:00
18392104cd
Fix byte order preventing some masks from being created
2022-11-21 11:34:39 -05:00
fa70f9094b
Protect against crashing with certain layers
2022-11-21 11:09:28 -05:00
a506bb2a80
Fix timelapse export breaking
2022-06-15 18:28:06 -04:00
1e81810e01
Remove superflous init()
2022-06-15 13:38:42 -04:00
4c38201296
Overhaul parsing to better handle possible errors
2022-06-15 13:25:34 -04:00
8672a69e8b
Separate drawing code into SilicaEngine class
2022-06-15 12:32:56 -04:00
beac4f568e
Move rows/columns variables to SilicaDocument
2022-06-15 12:07:09 -04:00
ac740e653a
Move Silica structures into their own file
2022-06-15 11:34:54 -04:00
5dd85f1989
Overhaul documentation in the Document class
2022-06-15 11:30:53 -04:00
897df62a49
Fix indentation and remove more debug logging
2022-06-15 11:09:17 -04:00
eeba7bba02
Actually update loading label
...
For some reason, I never actually hooked up the field to actually disappear when
loading successfully.
2022-06-15 11:01:20 -04:00
cea81a2221
Move class extensions into their own file
2022-06-15 10:58:30 -04:00
441c353c41
Remove unused ci color kernel, previously used for grayscale filter
2022-06-15 10:56:38 -04:00
b839bb5b79
Properly rotate and flip canvas on PSD export
2022-06-15 10:53:34 -04:00
ded53bb5ae
Automatically unpremultiply, prevent duplicate opacity and blending for PSD export
...
This fixes the last few bugs related to PSD export!
2022-06-14 11:48:42 -04:00
981604d68d
Overhaul blend mode handling
...
Now we decode a much nicer enum, instead of manually parsing
ints on both the PSD and rendering side
2022-06-14 11:17:58 -04:00
590c16da52
Bump version to 1.2, build 6 and update copyright
2022-05-19 11:03:32 -04:00
acda007eee
Add the rest of the supported Photoshop blend modes, fix clipping
...
This is not the final blending code, it will go through another refactor
but it's an improvement from before.
2022-05-19 11:00:51 -04:00
985241a8b3
Support a couple more Photoshop blend modes
2022-05-10 00:43:28 -04:00
50d532aac9
Protect against some missing keys
2022-05-09 20:46:59 -04:00
9590378b8a
Adapt export accessory view to video file types
2022-02-28 12:19:08 -04:00
7c36cc864f
Separate PSD blend mode calculation into it's own function
2022-02-28 12:19:08 -04:00
d637f65851
Separate accessory view init into it's own function
2022-02-28 12:06:08 -04:00
ee81008930
Add experimental PSD exporting
...
Not everything is working yet, this requires
more PSDWriter modifications.
2022-02-28 12:04:08 -04:00
baac84383b
Handle document names better
...
Now it's possible for the document title to be
null, just like an author name. Also, the
document title is used for the default filename
when exporting.
2022-02-28 12:03:08 -04:00
e3b94dee42
Only enable export actions when document is actually open
2022-02-14 12:38:08 -04:00
0c015e2327
Throw error when not a valid NSKeyedArchive
2022-02-14 12:36:08 -04:00
d8c3229394
Prettify Document.getChunkFilename
2022-02-14 12:31:08 -04:00
a71699c15d
Add test for Document.parseChunkFilename
2022-02-14 12:30:08 -04:00
6aad7b912d
Add placeholder export accessory view
2022-02-14 12:10:08 -04:00
866a378c8d
Add a scrollable and zoomable image view
2021-09-30 08:38:54 -04:00
e1d869ffdc
Make canvas rendering non-blocking
2021-09-30 07:55:58 -04:00
3fe5d9eb3a
Add a visible error message for invalid documents
...
* Also enables concurrent reading, which should be safe
2021-09-30 07:53:41 -04:00
b87fe7e585
Protect crashes against invalid Procreate documents
2021-09-30 07:35:50 -04:00
8113d13835
Call com.procreate files "Procreate Document"
2021-09-29 17:56:37 -04:00
73c88d1c51
Increase version and build numbers
2021-09-29 17:55:28 -04:00
c9f7923ed1
Make time-lapse export cancellable
2021-09-29 17:54:04 -04:00
7e5028efa7
Add time-lapse export option
2021-09-29 17:27:13 -04:00
a801579bc1
Fix alpha
2021-09-29 16:30:57 -04:00
8a83dbc25b
Prevent a bunch of unnecessary CG->NS<-CI image conversions
2021-09-29 13:02:32 -04:00
3c7c1f865a
Fix clipping masks
2021-09-27 12:23:18 -04:00
7e1ddaf2bf
Splitting up some of the longer parts of the drawing function
2021-09-27 11:48:16 -04:00
78e9be6e1d
Clean up CGRect and CGSize usage, remove some debug prints
2021-09-27 11:38:23 -04:00
e457a4b3c4
Load proper color spaces, add extended blend mode support, and load layer names
2021-09-27 11:31:19 -04:00
93dc48c1ca
Add support for more blend modes
2021-09-21 05:36:11 -04:00
6ad06a1360
Create toGrayscale function
2021-09-21 04:41:05 -04:00
00b655f519
Add clipping mask support
2021-09-21 04:27:20 -04:00