Wiris

Documentation

  • Demos
  • Visit our website
  • Contact us
  • MathType

    • WirisQuizzes

      • Nubric

        • CalcMe

          • MathPlayer

            • Store FAQ

              • MathFlow

                • BF FAQ

                  • Miscellaneous

                    • Wiris Integrations

                      • Home
                      • MathFlow
                      • MathFlow SDK for Developers
                      • Composition (Java and Windows)
                      • Composition: Equation Composer
                      • Composition: Equation Composer

                      Composition: Equation Composer

                      Reading time: 1min

                      Overview

                      The EquationComposer class, which is available in both Java and Windows-only (including 32- and 64-bit versions), is used to generate images from MathML. It can produce EPS (Windows only), GIF, and PNG image types.

                      Programming Model

                      The EquationComposer class is based on a state model. When an EquationComposer object is instantiated, an internal collection of parameters is initialized. These parameters control licensing, input, output, rendering, font management, persistence and other functions. These internal parameters are modifiable by setter methods, which allow you to change the value of the parameters before an image is generated. Refer to the Java Equation Composer API in the javadocs, or Windows Equation Composer API for the EquationComposer class to see what setter methods are available.

                      Generating an Image File

                      Once all of the parameters have been set, a call to GenerateImageFile() will render the equation as an image and save it in the format and location defined by the parameters.

                      Configuring Fonts

                      You can choose which fonts are used when creating equation images. To do this, you need to create font configuration files. See Windows Font Configuration or Java Rendering Engine for more information.

                      Was this article helpful?

                      Give feedback about this article

                      Related Articles

                      • Differentiate
                      • Elements

                      Composition: Equation Composer

                      Overview Programming Model Generating an Image File Configuring Fonts

                      Empowering STEM education

                      MathType

                      • Office Tools
                      • LMS
                      • XML
                      • HTML

                      WirisQuizzes

                      Nubric

                      Integrations

                      Solutions

                      • Education
                      • Publishing houses – platforms and interactive
                      • Publishing houses – Print and digital
                      • Technical writers

                      Pricing

                      Downloads

                      Blog

                      • Success stories

                      About us

                      • Careers
                      • Partnership

                      Contact Us

                      Contact Sales

                      European union (European Regional Development Fund) and 1EdTech (TrustEd Apps Certified)
                      • Cookie Policy
                      • Terms of Use
                      • Privacy Policy / GDPR
                      • Student Data Privacy
                      • Compliance
                      • Cookie Settings

                      © Wiris 2026

                      Expand