Skip to content

Commit

Permalink
Update supported file list
Browse files Browse the repository at this point in the history
  • Loading branch information
sdsykes committed Apr 1, 2024
1 parent df84ad4 commit 054f563
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/fastimage.rb
Expand Up @@ -93,7 +93,7 @@ class BadImageURI < FastImageException # :nodoc:

LocalFileChunkSize = 256 unless const_defined?(:LocalFileChunkSize)

SUPPORTED_IMAGE_TYPES = [:bmp, :gif, :jpeg, :png, :tiff, :psd, :heic, :heif, :webp, :svg, :ico, :cur].freeze
SUPPORTED_IMAGE_TYPES = [:bmp, :gif, :jpeg, :png, :tiff, :psd, :heic, :heif, :webp, :svg, :ico, :cur, :jxl].freeze

# Returns an array containing the width and height of the image.
# It will return nil if the image could not be fetched, or if the image type was not recognised.
Expand All @@ -104,7 +104,7 @@ class BadImageURI < FastImageException # :nodoc:
# If you wish FastImage to raise if it cannot size the image for any reason, then pass
# :raise_on_failure => true in the options.
#
# FastImage knows about GIF, JPEG, BMP, TIFF, ICO, CUR, PNG, PSD, SVG and WEBP files.
# FastImage knows about GIF, JPEG, BMP, TIFF, ICO, CUR, PNG, PSD, SVG, WEBP and JXL files.
#
# === Example
#
Expand Down

0 comments on commit 054f563

Please sign in to comment.