class Giphy::Images

Included Modules

Defined in:

types/images.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def downsized : SizedImageData #

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


[View source]
def downsized=(downsized : SizedImageData) #

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


[View source]
def downsized_large : SizedImageData #

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


[View source]
def downsized_large=(downsized_large : SizedImageData) #

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


[View source]
def downsized_medium : SizedImageData #

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


[View source]
def downsized_medium=(downsized_medium : SizedImageData) #

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


[View source]
def downsized_small : VideoData #

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


[View source]
def downsized_small=(downsized_small : VideoData) #

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


[View source]
def downsized_still : ImageData #

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


[View source]
def downsized_still=(downsized_still : ImageData) #

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


[View source]
def fixed_height : ExtendedImageDataVideo #

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


[View source]
def fixed_height=(fixed_height : ExtendedImageDataVideo) #

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


[View source]
def 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.


[View source]
def 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.


[View source]
def fixed_height_small_still : ImageData #

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


[View source]
def fixed_height_small_still=(fixed_height_small_still : ImageData) #

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


[View source]
def fixed_height_still : ImageData #

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


[View source]
def fixed_height_still=(fixed_height_still : ImageData) #

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


[View source]
def fixed_width : ExtendedImageDataVideo #

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


[View source]
def fixed_width=(fixed_width : ExtendedImageDataVideo) #

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


[View source]
def 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.


[View source]
def 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.


[View source]
def fixed_width_small : ExtendedImageDataVideo #

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


[View source]
def fixed_width_small=(fixed_width_small : ExtendedImageDataVideo) #

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


[View source]
def fixed_width_small_still : ImageData #

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


[View source]
def fixed_width_small_still=(fixed_width_small_still : ImageData) #

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


[View source]
def fixed_width_still : ImageData #

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


[View source]
def fixed_width_still=(fixed_width_still : ImageData) #

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


[View source]
def looping : LooperData #

Data on the 15 second version of the GIF looping.


[View source]
def looping=(looping : LooperData) #

Data on the 15 second version of the GIF looping.


[View source]
def original : ExtendedImageDataFrame #

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


[View source]
def original=(original : ExtendedImageDataFrame) #

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


[View source]
def original_still : ImageData #

Data on a static preview image of the original GIF.


[View source]
def original_still=(original_still : ImageData) #

Data on a static preview image of the original GIF.


[View source]
def 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.


[View source]
def 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.


[View source]
def preview_gif : ImageData #

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


[View source]
def 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.


[View source]