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

Image library enhancements #368

Merged
merged 15 commits into from
Sep 20, 2023
Merged

Conversation

a740g
Copy link
Contributor

@a740g a740g commented Sep 15, 2023

This PR add the following new features to the QB64-PE image library:

  • SVG support (file and buffer)
  • QOI format support (file and buffer)
  • High quality pixel scaler support
    • Scalers can be used only during image loading and thus has zero performance impact when the image is in use
    • 6 supported scalers that can be used by specifying the scaler name in _LOADIMAGE's requirements$ string
      • SXBR2 - Super-xBR 2x
      • MMPX2 - MMPX Style-Preserving 2x
      • HQ2XA - High Quality Cartoon 2x
      • HQ2XB - High Quality Complex 2x
      • HQ3XA - High Quality Cartoon 3x
      • HQ3XB - High Quality Complex 3x
  • Implements the _SAVEIMAGE command
    • Syntax: _SAVEIMAGE fileName$[, imageHandle&][, requirements$]
    • Can save to 6 image formats: png, qoi, bmp, tga, jpg and hdr
    • Can save text screens and surfaces as an image file

image
image
image

I'll start adding the license updates once all tests passes.

@a740g a740g added the enhancement New feature or request label Sep 15, 2023
@a740g a740g self-assigned this Sep 15, 2023
@a740g a740g merged commit b9ab80d into QB64-Phoenix-Edition:main Sep 20, 2023
@a740g a740g deleted the image-enhancements branch September 20, 2023 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants