rbpdf icon indicating copy to clipboard operation
rbpdf copied to clipboard

Proposal: Make the image file path acquisition process extensible

Open yui-har opened this issue 4 years ago • 0 comments

I want you to change the image file path acquisition process using a temporary file to the method with a block argument.

rbpdf creates an image using the local image file path, or downloads the image file of the remote URL (http, https) to a local temporary file and then creates the image. However, you cannot create an image using the image data stored in the database.

Considering the case where you want to use unexpected image data, I think that the image file path acquisition process should be divided by the method. Change the method name (proc_image_file) as appropriate.

yui-har avatar Oct 12 '20 06:10 yui-har