class

Giphy::Images

Inherits JSON::Serializable < Reference < Object

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

downsized

Data on a version of this GIF downsized to be under 2mb.

Source
downsized=(downsized : SizedImageData)

Data on a version of this GIF downsized to be under 2mb.

Source
downsized_large

Data on a version of this GIF downsized to be under 8mb.

Source
downsized_large=(downsized_large : SizedImageData)

Data on a version of this GIF downsized to be under 8mb.

Source
downsized_medium

Data on a version of this GIF downsized to be under 5mb.

Source
downsized_medium=(downsized_medium : SizedImageData)

Data on a version of this GIF downsized to be under 5mb.

Source
downsized_small

Data on a version of this GIF downsized to be under 200kb.

Source
downsized_small=(downsized_small : VideoData)

Data on a version of this GIF downsized to be under 200kb.

Source
downsized_still

Data on a static preview image of the downsized version of this GIF.

Source
downsized_still=(downsized_still : ImageData)

Data on a static preview image of the downsized version of this GIF.

Source
fixed_height

Data on versions of this GIF with a fixed height of 200 pixels. Good for mobile use.

Source
fixed_height=(fixed_height : ExtendedImageDataVideo)

Data on versions of this GIF with a fixed height of 200 pixels. Good for mobile use.

Source
fixed_height_downsampled

Data on versions of this GIF with a fixed height of 200 pixels and the number of frames reduced to 6.

Source
fixed_height_downsampled=(fixed_height_downsampled : ExtendedImageData)

Data on versions of this GIF with a fixed height of 200 pixels and the number of frames reduced to 6.

Source
fixed_height_small_still

Data on a static image of this GIF with a fixed height of 100 pixels.

Source
fixed_height_small_still=(fixed_height_small_still : ImageData)

Data on a static image of this GIF with a fixed height of 100 pixels.

Source
fixed_height_still

Data on a static image of this GIF with a fixed height of 200 pixels.

Source
fixed_height_still=(fixed_height_still : ImageData)

Data on a static image of this GIF with a fixed height of 200 pixels.

Source
fixed_width

Data on versions of this GIF with a fixed width of 200 pixels. Good for mobile use.

Source
fixed_width=(fixed_width : ExtendedImageDataVideo)

Data on versions of this GIF with a fixed width of 200 pixels. Good for mobile use.

Source
fixed_width_downsampled

Data on versions of this GIF with a fixed width of 200 pixels and the number of frames reduced to 6.

Source
fixed_width_downsampled=(fixed_width_downsampled : ExtendedImageData)

Data on versions of this GIF with a fixed width of 200 pixels and the number of frames reduced to 6.

Source
fixed_width_small

Data on versions of this GIF with a fixed width of 100 pixels. Good for mobile keyboards.

Source
fixed_width_small=(fixed_width_small : ExtendedImageDataVideo)

Data on versions of this GIF with a fixed width of 100 pixels. Good for mobile keyboards.

Source
fixed_width_small_still

Data on a static image of this GIF with a fixed width of 100 pixels.

Source
fixed_width_small_still=(fixed_width_small_still : ImageData)

Data on a static image of this GIF with a fixed width of 100 pixels.

Source
fixed_width_still

Data on a static image of this GIF with a fixed width of 200 pixels.

Source
fixed_width_still=(fixed_width_still : ImageData)

Data on a static image of this GIF with a fixed width of 200 pixels.

Source
looping

Data on the 15 second version of the GIF looping.

Source
looping=(looping : LooperData)

Data on the 15 second version of the GIF looping.

Source
original

Data on the original version of this GIF. Good for desktop use.

Source
original=(original : ExtendedImageDataFrame)

Data on the original version of this GIF. Good for desktop use.

Source
original_still

Data on a static preview image of the original GIF.

Source
original_still=(original_still : ImageData)

Data on a static preview image of the original GIF.

Source
preview

Data on a version of this GIF in .MP4 format limited to 50kb that displays the first 1-2 seconds of the GIF.

Source
preview=(preview : VideoData)

Data on a version of this GIF in .MP4 format limited to 50kb that displays the first 1-2 seconds of the GIF.

Source
preview_gif

Data on a version of this GIF limited to 50kb that displays the first 1-2 seconds of the GIF.

Source
preview_gif=(preview_gif : ImageData)

Data on a version of this GIF limited to 50kb that displays the first 1-2 seconds of the GIF.

Source

Nested types