IMGKit
IMGKit copied to clipboard
Uses wkhtmltoimage to create JPGs and PNGs from HTML
I am using rails api 5.2.1 and ruby 2.5.1. My rails api application has model Location with map field which is image (carrierwave). My goal is to make print screen...
Fixes https://github.com/csquared/IMGKit/issues/127
I got the following error 👇 while running locally (macOS 12.4) a Rails app that uses [[email protected]](https://rubygems.org/gems/imgkit/versions/1.6.2) ``` /Users/techeverri/.gem/ruby/3.1.2/gems/imgkit-1.6.2/lib/imgkit/imgkit.rb:45: warning: File.exists? is deprecated; use File.exist? instead ``` `File.exists?` is referenced...
Silences the following warning in Ruby 3 `imgkit-1.6.2/lib/imgkit/imgkit.rb:45: warning: File.exists? is deprecated; use File.exist? instead`
so wktmltopdf started spitting this error. "Warning: Blocked access to file" does it need a host fix?
while converting SVG to PNG output-png getting White background, we need transparent please suggest any solution for this issue
if libssl1.0-dev is missing and html contains https-style-sheet link it fails silently to load css: ```html ``` ## Expected behavior ImgKit should raise exception ## Current Behavior ImgKit renders HTML...
I have tried putting the quality parameter from 0 to 100 while generating an image from an html. I have only verified the rendered image quality visually by looking at...
I want to convert an HTML page into JPG image using IMGKit gem and wkhtmltoimage-binary, In my HTML page, there is a div class whose background is an image (styled...