Category "image"

Subresource integrity for images and other media?

Subresource integrity seems to be an awesome stopgap allowing to use third-party controlled HTTP-served resources in a secure way. However the spec considers HT

openstack image unset --property BadRequestException: 400

Version stein openstack, one image had set the property with hw_scsi_model='virtio-scsi', now I have to unset it, but can't work. # openstack image unset --prop

Numpy array of tuples to PIL image

I currently have a numpy array or RBG tuples that I want to convert to a PIL image and save. Currently I'm doing the following: final = Image.fromarray(im_arr,

How to show the image after using 'FileUpload' widgets

I am new to Python and I want to show the image after using FileUpload widgets in Python. Also, I want to print the file name. uploader = widgets.FileUpload() d

Pictures with Camera2 API are really dark

I'm working on Android and I'm trying to capture a picture without displaying any preview. I tried to simplify the process by making a class. It's working but a

docker and image size limit

I've been reading a lot about this issue in here and other websites, but I haven't manage to find a proper solution on how to increase the images size limit whi

Foscam IP camera: get snapshot

I'm trying to get a snapshot from my Foscam FI9816P camera. I'm using the following address: http://[IPADDRESS]:[PORT]/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&a

How to find extreme outer points in an image with Python OpenCV

I have this image of a statue. I'm trying to find the top, bottom, left, and right most points on the statue. Is there a way to measure the edge of each side

How to Encode an Image into an HTML file [duplicate]

So this may be a weird question, but bear with me. I am designing a block of code for a website. I am creating a <div></div>

Compress image at client side (angularjs) and upload to server(nodejs)

I am using ng-file-upload directive to upload files to nodejs in my application. Now, I am trying to compress the image before uploading. To do that I have trie

Cannot scrape the correct aspect ration of the image - Python

I'm having a problem to extract an image from a "Manga" website using python. Below is the element example on the website: img id="comic" class="loading" onerro

How can I overlay multiple PNGs and have each of them clickable in their visible area?

I need to set up a clickable image system for dynamically created content. The image consists of a background image, and several grey-scale mask images. Backgro

<source> media attribute - width of container rather than screen?

I'm using the <picture></picture> tag to responsively display an image after assessing the size of the container it's in. Some example code: <p

Filling with image [duplicate]

I am using the following code to add a background image, function Page1_Create: TWizardPage; var Page1: TWizardPage; // Fonts // P

How overlap an image over a circle?

This is the circular effect I trying to reproduce. There is a grey circle and a animated spinning red reticle when hover over the picture. I try with border-

Is there a way to add an image at the beginning of the video using Python?

I wanted to ask, is there a way to add an image at the beginning of a video using Python? I heard that OpenCV library adds a group of images to produce a video

Share images to social media using react native

I am developing a react native app. I want to share the selected images which I fetch from firebase storage and listed in the app to social media like WhatsApp.

using mogrify on lot of images gives error

I am using mogrify to resize the images in a directory using the following command mogrify -resize 100x100 *.jpg due to the huge number of images, I get

limit the size of a button with an image

Problem: I want to create my own widget that uses an image in a button, but the image causes the button to be way too big. How can I resize the button to the n

Replace image src location using CSS

I have a website that has an image with a src attribute and I would like to change the src location of that image with an image of my own. The image lives in a