New pages

From DrawShield Documentation
New pages
Hide registered users | Hide bots | Show redirects
  • 22:20, 12 November 2023Adding Drop Shadows (hist | edit) ‎[3,677 bytes]Karlw (talk | contribs) (Created page with "=== Introduction === When creating basic shields we can use the preferences pane to chose the "Shiny" appearance. This tries to make shields look a little more authentically metallic by putting a highlight in the top left and adding a coloured drop-shadow to the bottom left. The other appearance choices may well bring in other effects but none of them include the drop shadow. If you wish to add a drop shadow to one of the other appearance choices I suggest the followin...")
  • 18:57, 22 October 2023DrawShield From the Command Line (hist | edit) ‎[2,089 bytes]Karlw (talk | contribs) (Created page with "= Locally Installed DrawShield = It is possible to run DrawShield by installing it on your system and invoking it from the command line. == Pre-requisites == You will need PHP8.1 or above (8.2 may generate deprecation warnings). You will need PHP extensions for libxml and possibly some others, you should get warning messages about what is needed. The basic program will produce SVG files. For conversion to other formats I suggest installing ImageMagick and using its '...")
  • 22:44, 5 October 2023The DrawShield API (hist | edit) ‎[6,868 bytes]Karlw (talk | contribs) (Created page with "The Shield Drawing function of DrawShield can be invoked in 3 ways: 1. From the command line (no options are processed and the output is fixed as PNG). This mode is largely for debugging but might also be useful for bulk generation of PNG images. 1. Via an HTTP POST request - this is the recommended method as it gives the greatest flexibility and range of options (described below). This the method used by the drawshield.net website "create" page. 1. Via an HTTP GET re...") Tag: Visual edit: Switched
  • 22:14, 4 October 2023The JSON Output Format (hist | edit) ‎[4,638 bytes]Karlw (talk | contribs) (Created page with "== The JSON Output Format == This format combines several items of useful data wrapped in a JSON object. Top level object properties are as follows: * image (string) This is the shield image, in PNG format at the requested size, but encoded as Base64 text. It is the identical image that you would have received had the output format been set to 'png'. * tree (string) This is the result of the parsing stage and contains a representation of the blazon in XML, conformin...")
  • 18:55, 3 October 2023Changes to Metadata (hist | edit) ‎[5,284 bytes]Karlw (talk | contribs) (Created page with "==Stages in Drawing Shields== In creating heraldic images DrawShield goes through several stages: # Parse the blazon to create an Abstract Syntax Tree (AST) # Draw an SVG representation of the blazon, based on the AST # (optionally) convert the SVG to a different image format The AST is an XML based data structure conforming to a custom schema called BlazonML. ==The MetaData== Metadata ("data about data") in DrawShield comes from several sources: * Debugging inform...")