Vladimír Vondruš
3d136503d8
Updated copyright year.
5 years ago
Vladimír Vondruš
c226bc2d63
Doc++
6 years ago
Vladimír Vondruš
e0fd43f6fd
Trade: extract Implementation:setOptions() to core lib.
...
Will be needed by magnum-shaderconverter, which isn't depending on
Trade.
6 years ago
Vladimír Vondruš
6be0248e9c
imageconverter,sceneconverter: add -I and -C short variants.
...
I'm tired of typing all that.
6 years ago
Vladimír Vondruš
ec7592d413
imageconverter: add an --in-place option.
...
I'm using it to compress ground truth TGA images for shader tests
because TgaImageConverter doesn't implement RLE yet.
6 years ago
Vladimír Vondruš
4933b48652
imageconverter,sceneconverter: compact image info if possible.
...
If the images have all just a single level and no names, print each on
just a single line.
6 years ago
Vladimír Vondruš
19e0e96d74
Updated copyright year.
6 years ago
Vladimír Vondruš
de00da7040
imageconverter: doc++
6 years ago
Vladimír Vondruš
5c954a22be
imageconverter: split error handling for file opening and image loading.
6 years ago
Vladimír Vondruš
413dc56670
imageconverter: support image & level selection.
6 years ago
Vladimír Vondruš
fb32dd4c0e
imageconverter,sceneconverter: support option subgroups as well.
6 years ago
Vladimír Vondruš
299cf7740f
imageconverter,sceneconverter: add a --verbose option.
6 years ago
Vladimír Vondruš
f2c1f3c059
Trade: who did this indentation?!
6 years ago
Vladimír Vondruš
1c51b98d76
Trade: new magnum-sceneconverter tool.
...
Currently provides just the --info option similarly to
magnum-imageconverter, nothing else.
6 years ago
Vladimír Vondruš
92655c7238
Trade: implement magnum-imageconverter --info.
...
Useful for inspecting unknown files.
6 years ago
Vladimír Vondruš
0df0bd58ef
Trade: improve docs of magnum-imageconverter.
6 years ago
Vladimír Vondruš
18f9581d4e
Trade: extract reusable code out of magnum-imageconverter.
...
Will be needed by magnum-sceneconverter as well.
6 years ago
Vladimír Vondruš
c5872f2ddf
imagecoverter: implement raw pixel import as well.
...
Just tightly packed squares for now.
7 years ago
Vladimír Vondruš
0aec0db323
imageconverter: clarify message, don't die on compressed images.
7 years ago
Vladimír Vondruš
b3544a0404
imageconverter: make it possible to save raw imported data.
7 years ago
Vladimír Vondruš
d08e5c1638
imageconverter: print available plugins on importer/converter load error.
...
At first I wanted to add --importers / --converters options, but that
didn't really work because the argument parser complained that
input/output is not set.
7 years ago
Vladimír Vondruš
66ebed23c8
imageconverter: doc++
7 years ago
Vladimír Vondruš
05baf2fa50
imageconverter: apparently I never tested these additions.
...
The --raw is a not-yet-meant-to-be-public thing.
7 years ago
Vladimír Vondruš
dac61f51cc
Trade: implement passing importer/converter options to imageconverter.
7 years ago
Vladimír Vondruš
3626562e1d
Adapted to Corrade changes.
...
Mostly missing includes now.
7 years ago
Vladimír Vondruš
6a982f7841
Adapted to Corrade changes.
7 years ago
Vladimír Vondruš
f9f3df69de
Get rid of std::unique_ptr.
7 years ago
Vladimír Vondruš
24b8ff086c
Removed std::optional backwards compatibility.
...
This was a dirty mess. Good riddance. Also removing the include from the
header now, as it has a forward declaration and thus is not needed.
7 years ago
Vladimír Vondruš
e6b7aa12fa
Updated copyright year.
7 years ago
Vladimír Vondruš
799d9b80db
Doc++
8 years ago
Vladimír Vondruš
c334d90870
Improve utility documentation even more.
8 years ago
Vladimír Vondruš
8f6ca904d8
doc: improved and unified docs for command-line utilities.
...
Especially mention how to build them and how to use them with CMake.
Also add a dedicated page for the Magnum::Ui Gallery.
8 years ago
Vladimír Vondruš
f8ec9c56f8
Split the OpenGL layer out, pt 18: adapted Trade.
8 years ago
Vladimír Vondruš
59f4ac57d2
Use the plugin dir autodetection in the command-line utilities.
...
But still make it possible for the user to override this.
8 years ago
Vladimír Vondruš
33fe70d7b5
Simplify the converter utility plugin loading code.
...
Also have different return codes for different kinds of errors.
8 years ago
Vladimír Vondruš
9b8aac3a94
Doc++
8 years ago
Vladimír Vondruš
799870021e
Converting APIs returning std::optional to Containers::Optional.
...
And removing the bundled std::optional implementation. This finally
makes this library compatible with C++17. Since this would be a huge
backwards-incompatible change that would make everyone angry, the
following had to be done in case both CORRADE_BUILD_DEPRECATED and
MAGNUM_BUILD_DEPRECATED is defined:
* Under C++11 and C++14, Containers::Optional / Containers::NullOpt is
aliased to std::optional / std::nullopt. This is no worse than the
state before, when we also provided these symbols.
* Under C++17, where standard <optional> header is available,
Containers::Optional provides implicit conversion to it. Only one-way
conversion is supported, as there was fortunately no Magnum API that
took std::optional via parameter, and there might be some corner
cases that this doesn't cover. The goal is to have all examples
compiling with the old API, at least.
* There's a new test especially for this, which checks that both the
C++11 and C++17 ways of doing things work as they should.
The typedef and conversion is marked as deprecated, so it will spit out
many warnings to push users to upgrade. I hope I can completely remove
this mess soon :/
8 years ago
Vladimír Vondruš
623fa97970
Updated copyright year.
8 years ago
Vladimír Vondruš
6029cfae62
Update documentation of utilities for the new theme.
9 years ago
Vladimír Vondruš
7a16273e5d
Updated copyright year.
9 years ago
Vladimír Vondruš
8b06913534
CMake: make the plugin directories used in utilities more configurable.
...
In particular it is now possible to override the MAGNUM_PLUGINS_DIR
variables and even specify them relative, which will make them relative
to executable location.
It's nice when everything clicks together :)
10 years ago
Vladimír Vondruš
0e2d28130c
New magnum-imageconverter utility.
...
Converts images of different formats.
10 years ago