Skip to content

Tag: image

How to run a dockerfile?

Found a dockerfile that want to create image and run: https://gist.github.com/matsuu/d5b4e83b3d591441f01b7be2ede774e2 Stored it in a new folder as centos-redhat-8-beta.dockerfile on my computer and tried: What is exact command that need to run? Answer Dockerfile is not an extension, per default the file shoul…

Discard images from a group of similar images

I am generating images (thumbnails) from a video every 3 seconds. Now I need to discard/remove all the similar images. Is there a way I could this? I generate thumbnails using FFMPEG. I read about various image-diff solutions like given in this SO post, but I do not want to do this manually. How and what para…

Image upload using curl

I want to upload image to remote site using curl cli version, i browse several pages here, but not able to solve my problem. I log http header in firefox while uploading image: Answer The basic curlsyntax would be curl -F “image=@/yourPath/yourImageFile.jpg” ‘https://www.site.xxx/upload_pr…

How to base64 encode image in linux bash / shell

I’m trying to base64 encode an image in a shell script and put it into variable: I’ve also tried something like this: but still with no success. I want to do something like this: I found this http://www.zzzxo.com/q/answers-bash-base64-encode-script-not-encoding-right-12290484.html but still have h…