Commit graph

113 commits

Author SHA1 Message Date
Martin van Zijl
9d02b2c99d Allow loading PNG-8 files (paletted PNG) correctly.
Fixes #242.
2020-03-06 06:44:42 +13:00
Rodney
125d235b37
Merge pull request #2658 from blackwarthog/feature06_mingw_win32
Allow to compile OpenToonz for windows 32bit (via mingw)
2020-02-03 19:45:43 -07:00
shun-iwasawa
8fb2916598
Overhaul the Preferences (#2894)
* overhaul preferences
2019-12-04 20:44:58 +09:00
manongjohn
d182c8f09f Handle missing ffmpeg info 2019-11-14 12:55:06 -05:00
Jeremy Bullock
d44d54af2d
Merge branch 'master' into feature06_mingw_win32 2019-11-14 08:12:51 -07:00
manongjohn
f2da01b0ab Fix ffmpeg loaded levels (#2876)
* Fix reading ffmpeg frame count and rate

* Make ffmpeg loaded levels uneditable

* Ffmpeg extract frames only when loading

* Fix ffmpeg gif input frame rate
2019-11-13 22:07:58 -07:00
shun-iwasawa
a63c2de57f
fix crash on loading blackmagic codecs (#2764) 2019-09-10 19:09:32 +09:00
Ivan Mahonin
db7f146cab #mingw #win32: disable quicktime 2019-09-09 11:36:13 +07:00
manongjohn
cb224bb5da Fix wrong line cap loading (#2374) 2018-12-20 11:49:08 +09:00
shun-iwasawa
93fdd4ee3f matte color (#2418) 2018-12-19 14:29:00 +09:00
Calabaraburus
7e96bc7566 Fix svg stroke thickness (#2358)
* Fixed incorrect stroke thickness after svg import
Fixed incorrect relative moveto parsing.

* Apply style
2018-12-19 11:42:58 +09:00
Calabaraburus
676b4b2f91 Bugfix in svg import. Incorrect arc parsing if arc contains only one segment. (#2345) 2018-12-19 11:34:02 +09:00
shun-iwasawa
995cf619d4 load palette global name on loading level (#2299) 2018-09-19 18:41:16 +09:00
otakuto
ed7dcd5873 using std::swap instead of tswap (#2195) 2018-08-30 17:18:43 +09:00
otakuto
a18e658d3e use bool instead of macro bool (#2165) 2018-08-07 14:41:42 +09:00
shun-iwasawa
1479452980 fix webm output (#2065) 2018-06-15 16:39:30 +09:00
shun-iwasawa
86dc52b291 more and more translatable texts (#2045) 2018-06-08 15:10:34 +09:00
shun-iwasawa
e87e0815f7 Make More UI Texts Translatable (#2026)
* make ui texts translatable

* add more translatable texts

* load translate file for default commands
2018-06-04 12:18:43 +09:00
shun-iwasawa
a1dbd73a00 Fix symlink crashes (alternative to #1842) (#1930)
* fix symlink crash

* add exception handling

* symbols fix
2018-05-21 14:09:43 +09:00
shun-iwasawa
0a3be42e04 fix saving pli autoclose value (#1848) 2018-03-06 23:22:30 -07:00
Jeremy Bullock
e122a937ef Fill Tool: Allow Fillable Gap Size Change in Vector Images (#1317)
close #1093 

* CAUTION *
Changing the "Maximum Gap" from the default value (1.15) will lose backward compatibility of PLI file.
2018-03-07 15:09:17 +09:00
shun-iwasawa
e6b1248e52 Fix png and spritesheet render (depremultiply) by turtletooth (modified) (#1844)
* Fix png and spritesheet render (depremultiply)

* move depremultiply in PngWriter
2018-03-05 22:00:18 -07:00
Jeremy Bullock
dac2698c65 Allow individual frames of sprites (#1742) 2018-02-20 19:46:29 +09:00
shun-iwasawa
5a2ff6d279 Add add_dependencies Command to CMake for OSX (#1587)
* fix cmake for osx

* try using make -j 2 for osx travis

* obtain qt5.9.2 from the previous homebrew
2017-11-24 13:10:45 +09:00
Ivan Mahonin
bf1d82af08 MyPaint brushes for OpenToonz raster levels (#1124)
close #417
2017-08-04 12:31:50 +09:00
Jeremy Bullock
59344b6422 Fix vertical padding on spritesheets (#1259) 2017-07-25 20:41:38 +09:00
shun_iwasawa
0cae242b72 clang format all 2017-07-20 19:46:27 +09:00
shun-iwasawa
2fb6b9308a fix show mov on render (#1254) 2017-06-06 20:38:11 +09:00
Jeremy Bullock
63a3d74aea Fix for ffmpeg render same frames (#1234)
* Fix for ffmpeg/spritesheet render same frames
2017-06-01 19:50:43 +09:00
Jeremy Bullock
55b5dba26f FFmpeg timeout error fix (#1030) 2017-05-31 18:29:20 +09:00
Peter-Levine
ae91dbad8c Don't allow throw() in destructors (#1182) 2017-05-31 17:49:36 +09:00
Ivan Mahonin
429ee8c8e4 Allow to cross compile for Windows with Linux/Mingw (part 3 of 3, cmake) (#1150)
* #mingw #cmake: rules for native and cross compilation

* #mingw #cmake: fix CMakeLists.txt for using with MinGW under Windows

* #mingw #cmake: fix typo (BUILD_ENV_WIN -> BUILD_ENV_MSVC)
2017-05-26 15:00:05 +09:00
Ivan Mahonin
2fc36cb841 Allow to cross compile for Windows with Linux/Mingw (part 2 of 3, bugfixes) (#1149)
* #mingw #bug: place explicit instantiations on templates before first use

* #mingw #bug: remove API attributes from inline functions

* #mingw #bug: add 'static' attribute for local functions

* #mingw #bug: fix API attributes for splitSpeedInOutSegment

* #mingw #bug: replace strstream to stringstream

* #mingw #bug: remove cross references to plasticskeleton from tnzcore

* #mingw #bug: fix bug with order of initializaition of static variables

* #mingw #bug: fix glutInit
2017-05-19 19:20:33 +09:00
Ivan Mahonin
e280ae86d6 Allow to cross compile for Windows with Linux/Mingw (part 1 of 3, preprocessor) (#1148)
* split _WIN32 and _MSC_VER, lowercase includes
2017-05-08 21:13:29 +09:00
shun_iwasawa
597034da8d fix vector fill 2017-03-03 17:38:46 +09:00
Jeremy Bullock
6f319437dd allow no trim on spritesheet (#1022) 2017-03-01 12:27:45 +09:00
Jeremy Bullock
686e82ae08 Fixed gif import (#924)
* fixed gif import
2016-11-24 11:11:57 +09:00
Jeremy Bullock
764038cd1a Spritesheet Export (#752)
Added 'spritesheet' for the output format options, supporting as follows:
- Crops transparent area from images
- Set output format (Grid, Vertical, Horizontal)
- Scale output
- Set padding
- Export text file along with spritesheet with info about image sizes, padding etc. . .
The result is compatible with Game Maker Studio.
2016-11-24 11:08:30 +09:00
Jeremy Bullock
edaab7f46d moved ffmpeg temp files to cache folder (#921)
Now the ffmpeg temporary export files will be saved in the cache folder.
close #918
2016-11-21 19:37:55 +09:00
Jeremy Bullock
3bb5efc4ee Quick Export Feature (#725)
* Added Fast Render to MP4 command which does not need to set anything in output settings.
2016-11-09 11:46:03 +09:00
Jeremy Bullock
3837a14436 fix for ffmpeg export range error (#828)
* This allows the export range to be specified and correctly exported in ffmpeg formats

close #779
2016-10-07 19:02:02 +09:00
Jeremy Bullock
2b9d8f3cc8 Show info for ffmpeg levels (#824)
* Show info of ffmpeg level in level settings
* added frame count to filebrowser

close #811
close #812
2016-10-07 18:59:06 +09:00
Jeremy Bullock
3b0af2f782 Fix for Multiple FFmpeg files with same name #813 (#827)
* Use full path for temp ffmpeg cache names. Which allows importing multiple ffmpeg type files with the same name but different locations.

close #813
2016-10-06 17:22:00 +09:00
Jeremy Bullock
779cdf5542 fix gif reader not getting all frames (#770)
changed frame counting method for GIF format in order to get frame duration properly
2016-09-28 15:52:57 +09:00
boombatower
0dbe175381 Replace else() with elseif(APPLE) to ensure quicktime not built on unix. 2016-09-09 22:28:19 -05:00
MCCCS
a0ce326e1b 🐛 Fix spelling mistakes 2016-09-07 16:28:50 +03:00
shun-iwasawa
27b0cfd38c clang formatting (#703) 2016-08-04 16:23:36 +09:00
turtletooth
04d8fdc45c FFmpeg Integration - mp4, webm, gif (#624)
* Webm and Gif Export

* added intermediate jpg conversion to save hard drive space

* Started preferences ffmpegPath selection

* grouped ffmpeg files together

* Working with intermediate format

* Fixed running multiple CPU cores for export

* audio works

* all working, need refactoring and error checking

* Changed Qt includes

* revisited Qt includes

* Clean up code, refactor file cleanup, clean up includes

* started gif import

* import working

* Removed import again, fixed export settings being remembered

* import working, bypassed precompute, back to single core export

* clang formatting applied

* added beta warnings in Preferences Popup

* fixed frame flipping and made looping gif default

* added toonzlibs

* added format checks

* added check to help t32bitsrv crash

* sliders for settings are back

* added customizable timeout for ffmpeg

* fixed gif fps and scale for no palette
2016-07-29 14:35:10 +09:00
Campbell Barton
5cfa877449 Quiet warnings
- duplicate headers in C source & header
- use const char arg
- invalid typedef
2016-07-23 05:23:17 +10:00
Campbell Barton
9ece9c0c92 Cleanup: CMake style
Use parens on newline, avoids diff-noise when adding values.
2016-07-23 04:59:47 +10:00