From 89fb73aa545f7af55944b5dffc11a1ff062ccb91 Mon Sep 17 00:00:00 2001 From: Fris0uman <41293484+Fris0uman@users.noreply.github.com> Date: Mon, 21 Dec 2020 22:27:20 +0100 Subject: [PATCH] Add short guide to get pyvips set up on Windows (#46226) --- doc/TILESET.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/TILESET.md b/doc/TILESET.md index 8b4379e0f9034..f48c04a245a19 100644 --- a/doc/TILESET.md +++ b/doc/TILESET.md @@ -32,6 +32,17 @@ It is recommended that tileset developers include the sprite dimensions in the i Each image directory contains a hierarchy of subdirectories, `tile_entry` JSON files, and sprite files. There is no restriction on the arrangement or names of these files, except for `tile_entry` JSON files for expansion tilesheets must be at the top level of the image directory. Subdirectories are not required but are recommended to keep things manageable. +### Installing pyvips on windows + +- Download python https://www.python.org/downloads/ +- Add it to path +- Download libvips https://libvips.github.io/libvips/install.html +- Add it to path +- `Windows key + r` to open RUN dialogue box +- type `cmd` to get the console +- run: `pip install --user pyvips` +- run: `py -m pip install --upgrade pip` + #### `tile_entry` JSON Each `tile_entry` JSON is a dictionary that describes how to map one or more game entities to one or more sprites. The simplest version has a single game entity, a single foreground sprite, an *optional* background sprite, and a rotation value. For instance: ```C++