Commit Graph

132 Commits

Author SHA1 Message Date
Julian Descottes
b869d63211 remove useless comment 2016-12-27 00:56:18 +01:00
Julian Descottes
c0f7e7be52 jshint cleanup, move HTML to a template, add css classes 2016-12-27 00:56:18 +01:00
Julian Descottes
9518d570e6 display save to gallery warning if performance issue detected 2016-12-27 00:52:32 +01:00
juliandescottes
184b2e48aa disable gallery save when if spritesheet size too big (WIP) 2016-12-27 00:52:32 +01:00
Julian Descottes
ca3b789747 add user setting for seamless mode opacity 2016-12-22 23:27:00 +01:00
Julian Descottes
fbaccb03f2 introduce css variables 2016-12-22 13:06:01 +01:00
juliandescottes
49109e51c9 fix js error when resizing piskel (missing fps arg) 2016-12-16 07:02:31 +01:00
Julian Descottes
37d2861352 move fps info from preview controller to piskel model 2016-12-13 09:17:34 +01:00
Julian Descottes
2fe0b842a5 update pixijs export metadata app url 2016-12-13 07:28:55 +01:00
Pascal Seitz
21c7425cbc add pixi export 2016-12-05 19:11:01 +01:00
Dávid Szabó
218c0b511b Fix callbacks to work with the new serializer 2016-10-01 14:34:01 +02:00
Dávid Szabó
3be2b3d3bc Add misc export: download selected frame as png 2016-09-23 16:35:22 +02:00
Julian Descottes
cd36a57a1a export controller: add synchronized rows input, remove poweroftwo checkbox 2016-07-02 16:49:17 +02:00
Julian Descottes
4b8e5ace07 Issue #470: remove references to tiled-preview, rename preferences 2016-06-04 17:03:34 +02:00
Julian Descottes
c8fa83462a Issue #293: remove unused user settings 2016-05-29 11:19:54 +02:00
Julian Descottes
fae04f3616 Issue #293: use input type number and fix linting issues 2016-05-29 11:06:45 +02:00
Julian Descottes
169ce21556 Issue #293: Add spritesheet layout options in PNG export tab 2016-05-29 10:45:19 +02:00
Julian Descottes
2f295825f2 Issue #446: store selected export tab in user preferences 2016-05-23 22:51:48 +02:00
Julian Descottes
c63c764060 Issue #446: Improve export panels style consistency 2016-05-23 22:29:20 +02:00
Julian Descottes
f66c2578ab Issue #446: Add export tabs, move zoom controls 2016-05-22 23:37:28 +02:00
Julian Descottes
32e701aa55 Move ImageExportController to ExportController and Fix line height for toolbox titles 2016-05-22 15:49:39 +02:00
Clement Leger
e41b8f740b C Export: Remove temporary canvas and directly use the rendered one for export 2016-04-11 16:43:26 +02:00
Clement Leger
dfb8fec0c9 C export: fix after review 2016-04-11 14:33:58 +02:00
Clément Léger
4927557c89 C export: Fix rgb ordering in uint32_t 2016-04-06 19:38:11 +02:00
Clément Léger
d176973e72 C export: add static const qualifier for arrays 2016-04-06 19:17:39 +02:00
Clément Léger
664821b9f5 Fix coding style and better output 2016-04-05 23:01:27 +02:00
Clement Leger
1b553d28e3 Export: add c file exporter 2016-04-05 22:00:50 +02:00
juliandescottes
327df539a7 Issue #414: part10: support opacity in preview renderers 2016-03-24 02:17:57 +01:00
jdescottes
99b00bc57f Issue #414: part 9: persist layer opacity when resizing 2016-03-24 02:17:57 +01:00
Julian Descottes
add97baf54 Issue #414: part8: Support transparency for GIF export
Transparent layers are rendered properly in GIFs.

As soon as a layer as some opacity (ie not 0 or 1) the GIF will be
rendered with preserveColors set to false. This could be improved,
preserveColors could still be applied if the flattended picture has
only opaque pixels, for a color count lower than the GIF limit.

Other topic to handle : we are creating way to many canvas element.

A simple GIF rendering of a 50 frames animation with 10 layers creates
1000 canvas elements before creating the GIF. Should consider adding some
pooling in the CanvasUtils.createCanvas helper.
2016-03-24 02:17:57 +01:00
Julian Descottes
76a29bf51a Issue #414: part7: Support transparency for ZIP export
Added renderFrameAt API to LayerUtils
Reuse LayerUtils and PiskelController renderFrameAt in PngExportController
2016-03-24 02:17:57 +01:00
Julian Descottes
d2dc42e7cf Issue #414: part5: rename PiskelController getFrameAt to getMergedFrameAt 2016-03-24 02:17:57 +01:00
Matt D
a712764401 Syntax changes to meet code style 2016-03-23 21:50:43 +11:00
Matt D
da105e6237 Moved the padding code to a new StringUtils.js utility and made the export code use it 2016-03-23 21:32:22 +11:00
Matt D
e2b6f0776b Added frame and layer id padding to splittedExport 2016-03-23 20:51:08 +11:00
Matt D
c7381b771f Added sprite number padding to mergedExport 2016-03-23 20:45:35 +11:00
Guillaume Martigny
5eb936d8c2 fix #392
Signed-off-by:Guillaume Martigny <guillaume.martigny@gmail.com>
2016-02-03 09:19:21 +01:00
jdescottes
c70e339296 Issue #338 : disable sizeInput sync if maintainration is off in usersettings 2015-12-02 00:44:13 +01:00
jdescottes
6583d8f8b9 Issue #357 : Trans. -> white if too many colors + add test files 2015-12-01 20:07:26 +01:00
juliandescottes
5b567683a7 Issue #357 : prevent transparency in GIF export if more than 256 colors 2015-12-01 14:17:26 +01:00
jdescottes
8d26d693ff Issue #338 : Cleanup public/private in SettingsController 2015-11-25 00:40:12 +01:00
jdescottes
9329a5fd03 Issue #338 : Remove jquery from settingscontroller, destroy setting controller when closing drawer 2015-11-25 00:36:19 +01:00
jdescottes
30c3cdbcc5 Issue #338 : Store resize prefs to userpref 2015-11-19 08:18:26 +01:00
jdescottes
b5234089cd Issue #287 : Move CheatsheetService to CheatsheetController + DialogsController 2015-11-12 20:31:48 +01:00
Julian Descottes
48d1214a6d Merge pull request #314 from juliandescottes/add-save-service
Add save service
2015-10-01 01:10:23 +02:00
jdescottes
a286d5926a Issue #277 : Cleanup save controller 2015-10-01 00:30:36 +02:00
Jason Neufeld
da1f26291c Adds superclass destroy call to ImageExportController. 2015-09-28 17:14:48 -07:00
Jason Neufeld
a92e198519 Adds input event listener to scaling factor. 2015-09-28 17:10:40 -07:00
jdescottes
fe9875841a Issue #277 : Add isSaving state to storageService 2015-09-20 11:19:17 +02:00
jdescottes
e5be581e19 Issue #277 : Move all name update logic to a dedicated controller polling the model 2015-09-20 10:42:15 +02:00