Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate from System.Drawing.Bitmap #779

Merged
merged 7 commits into from
Oct 23, 2024

Commits on Oct 23, 2024

  1. Move from System.Drawing.Common to SixLabors

    This removes the majority of Bitmap references, replacing with SixLabors.Image instead. This is only used internally in TRImage. The core library continues to use bitmaps for specific drawing techniques.
    lahm86 committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    676a35f View commit details
    Browse the repository at this point in the history
  2. Move randomizer core tests

    This moves the tests that were previously in ImageControl and LevelControl into a randomizer core specific test library.
    lahm86 committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    81d3da2 View commit details
    Browse the repository at this point in the history
  3. Split TRImage implementation

    lahm86 committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    ffc88c0 View commit details
    Browse the repository at this point in the history
  4. Add additional image type support

    WEBP, JPG and GIF now supported, if ever needed.
    lahm86 committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    0482d59 View commit details
    Browse the repository at this point in the history
  5. Implement drawing methods

    Replacement drawing methods are now provided in TRImage, courtesy of ImageSharp. This allows us to remove the final few bitmap references.
    lahm86 committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    7fb4480 View commit details
    Browse the repository at this point in the history
  6. Lift Windows only restrictions

    No projects have Windows-only dependencies now, bar the UI but that's a given.
    lahm86 committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    361b564 View commit details
    Browse the repository at this point in the history
  7. Update TRGE

    This was Windows only too because it uses TRDataControl.
    lahm86 committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    aab38e4 View commit details
    Browse the repository at this point in the history