ImageInfo finds the size and type of a single or multiple images from the web by fetching as little as needed in batches.

ImageInfo finds the size and type of a single or multiple images from the web by fetching as little data as needed (partial image) in batches.WhyIn LinkThumbnailer I needed to find images sizes not only for one image. A well known gem like FastImage was not enough so I decided to build my own. The gem use typhoeus's parallel requests and stream capability under the hood to get images.
ImageInfo finds the size and type of a single or multiple images from the web by fetching as little as needed in batches. #ruby #rubydeveloper #rubyonrails #type #web https://rubyonrails.ba/single/imageinfo-finds-the-size-and-type-of-a-single-or-multiple-images-from-the-web-by-fetching-as-little-as-needed-in-batches

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles