21 Commits

Author SHA1 Message Date
David Capello
2e47bd1fbc Fix --ignore-layer: doesn't activate all hidden layers (fix #1264) 2016-12-06 11:06:08 -03:00
David Capello
4813936a3a Add --oneframe CLI param to load just one frame 2016-12-01 12:06:35 -03:00
David Capello
f57c298ad6 Merge branch 'master' into beta 2016-11-29 12:15:25 -03:00
David Capello
5c3f75c64b Merge branch 'master' into beta 2016-11-07 18:17:42 -03:00
David Capello
b84d0d843e Add --ignore-layer CLI option (fix #1264) 2016-09-23 10:46:31 -03:00
David Capello
a1ce0c5c73 Add support to specify multiple layers in CLI to export (fix #1174)
Now we can use --layer multiple times to modify the --save-as and
--sheet behavior to render only the filtered/selected layers. This can
be combined with --split-layers too.
2016-09-16 15:19:47 -03:00
David Capello
f4b5340dfb Fix export of groups/layers via CLI
We have to propagate show/hide layers/groups visibility properly to
export them correctly. We use the same code that in the "Export Sprite
Sheet" for this (a new RestoreVisibleLayers class is separated for
this).
2016-09-16 11:15:47 -03:00
David Capello
682e9b8307 Add support to specify {group} in filename format 2016-09-16 09:04:37 -03:00
David Capello
3a9c2e8325 Fix "Export Sprite Sheet" for selected frames/layers
Now we can export a give group, layer, and (non-adjacent) selected
layers/frames.
2016-09-13 16:10:36 -03:00
David Capello
4749001473 Now --palette changes the palette of the last sprite (fix #1245) 2016-09-05 11:59:25 -03:00
David Capello
20b726f73b Merge branch 'master' into beta 2016-08-31 19:53:52 -03:00
David Capello
7b55037abb Replace LayersRange with Sprite::all*Layers() members 2016-06-21 12:02:31 -03:00
David Capello
a478efd616 Add support to use --frame-tag and --frame-range at the same time 2016-06-06 17:47:47 -03:00
David Capello
04f67a1697 Automatic split layers/tags if we use {layer} or {tag} in --save-as (fix #1149) 2016-06-06 16:28:49 -03:00
David Capello
617afaed78 Centralize default filename format computation
Use get_default_filename_format() to get the default filename format on
all cases.
2016-06-06 13:57:35 -03:00
David Capello
feadacbf61 Add --split-tags to save each tag as a different file 2016-06-02 13:22:08 -03:00
David Capello
fa044f8253 Fix double undo needed when --crop and --trim are used 2016-06-02 00:09:05 -03:00
David Capello
da856f432e Support frame ranges saving file sequences
Now we can use --frame-tag or --frame-range with --save-as option to
save sequence-like formats (e.g. png, pcx, bmp, one image files).
2016-06-01 14:49:24 -03:00
David Capello
fac2997099 Convert CliOpenFile::frameRange -> frameFrom/To
This change was done to avoid calling split_string() each time we want
to know the frame range. (As the frame range will be used in several
parts of the code.)
2016-05-31 16:55:41 -03:00
David Capello
67bbb22410 Delete temporal tags created in the CLI processor
When a DocumentExporter is used to export a specific range of frames
from the CLI processor, a temporal frame tag is created, we've to delete
that tag when the DocumentExporter is destroyed.
2016-05-31 15:07:26 -03:00
David Capello
9a0035e2a7 Refactor CLI
We’ve moved the cli into its own directory (src/app/cli). Also, we’ve
added a new “--preview” parameter to know what will be done using the
given command line options.
2016-05-30 19:03:28 -03:00