Category "image"

How can I add a cover image to a Discord Scheduled Event?

I have created an event through the Discord JS Library, and would like to add a user option to add a cover image. The code below is working fine, but the image

How to make an image fill the background of a div? (using img tag in the div itself)

This seems like a simple problem but I'm having a bit of trouble finding a solution. I have cards on my page and I simply want the image (in the img tag which i

Can't set default image django

I was create a profile for user. I done set up all the Media and Static. But when I set default and upload_to in image field, it error not found image. I had tr

Converting PDF to images of original size

I have a PDF file which is made of photographs of a book connected in a single PDF file. I'm trying to convert it back to single images in PNG format, every too

How to check if the browser suppprts AVIF images

How can I detect if the browser supports AVIF images using JavaScript? I have viewed this question and after reading the answers I was able to build a useful on

ImageManagerStatic how to add copyright symbol on image

I am trying to add a copyright symbol onto an image with the ImageManagerStatic in Laravel, but it does not convert the code (©) to the symbol (©)...

Upload image into div with premade graphic and export div as jpg or png

Looking for a solution for screenshot of div that has premade graphic, where a user can upload their picture / avatar into or on top of (image covering the circ

Tweepy is throwing an error when I try to upload an image. (AttributeError: 'dict' object has no attribute 'media_id_string')

import tweepy import os from PIL import Image consumer_key = "hidden" consumer_secret = "hidden" access_token = "hidden" access_token_secret = "hidden" auth =

LIQUID : Trying to NOT include the Variant Images from product thumbnail

''' {% for media in product.media %} {% unless media == featured_media %} {% unless media == variant.featured_media %}

Uneable to find TransformToGrayscaleOp class in android for transform to greyscale in android

I want to transform my image to grayscale but when i traid to use TransformToGrayscaleOp class i got this error in the ide: Unresolved reference: TransformToGra

How to convert PPM image file to JPG or PNG using Python? [duplicate]

I have made a script which makes a valid ppm file which when opened using a ppm viewer is working properly. But I don't want my users to insta

VBA PPT: How to add an image and send it behind the text or add it as a background image?

So we are trying to create some ppt report based on excell data. I'd like for the first slide to have a background image or just an image that is set behind the

Convert image in list of coordinates in Julia

I have this short code img_lab = rand(Lab, 10, 10) where I just have created an image of random colored pixels. Probably this question is trivial but how do I c

What is the point in backing up a docker container?

I have started using Docker recently and currently running Portainer and Nginx. Of course, I've also started looking deeper into Docker, how it works, how to ba

How to detect checkboxes by removing noise using Python OpenCV?

I am trying to identify the checkboxes in the image The top 4 are identified but the bottom 2 are not. At the same time I would like to be able to get rid of th

Is it possible to create a tile 2x2 mosaic using Sharp Node?

Using Image Magick I was able to use montage to make this: With this code: montage -density 300 -tile 2x0 -geometry 150x150^ -gravity center -crop 150x150+0+0

Creating an image with Docker and resources outside the main directory

I try to build an image with Docker (10.20.13 on RH 7.9). But some of my resources are outside the Dockerfile directory. Below is my tree : /dir1 ├─

Saving files with cv2.imwrite() making the output white completely after FFT conversion

I am trying to denoise images using Fast Fourier Transformation (FFT) in python using the reference from this site. Unfortunately my output image is becoming c

My python tkinter buttons are updating too quickly after the wrong comparison is made

I'm trying to make a memory game for fun and as a learning experience, and I've run into the issue where even with something like time.sleep(.5) I still can't g

Laravel Livewire image upload verification on edit form problem

I have a product page with an image upload form built with Livewire. when i revisit the page to update information, the page will only submit if I also pass thr