Category "image"

Fetch and display uncompressed pixel values in web browser

Suppose I have get json data like this from an HTTP server: { "width":1234, "height":356, "channels":"rgba", "sample_type":"uint8", "in

JS Change the cursor for an image stored in a variable

Is it possible to change the cursor with a customized image stored in a variable? I have tried setAttribute or .style.cursor, but it does not seems to work.. He

Truly undownloadable images

I had given up on protecting online images since even disabling the easiest ways to get at images still left people the option to use Inspect, then Sources, and

What is WordPress hook for after (not before) deleting an image?

I want to do something in WordPress after the media (image) is deleted. There is a hook (delete_attachment) for this purpose but it is before deleting while I w

album art not showing, using express.js, node.js, pug, javascript

I am trying to create a music app that can serve music files to an audio element. Eventually I want a client side ui that can pick a song from a playlist and ev

React Image gallery issues - return outside the function

Im having issues turning a html and js file into a react component (image gallery). The below is the component and the images are taken from a shop.js file. Whe

Why tesseract is not recognising text from this image?

I am trying to get the text from these images. When I run the code is below, in the first picture recognize "Legendary x" but the second picture doesnt recogniz

How to directly save spectrogram image to specific pixel size

I am generating spectrograms and casting them to images for use in a CNN. How can I directly specify the pixel size of the spectrogram. This is what I have so

How do you combine/stitch images of different sizes to one image with a size that is a power of 2?

Some context I am working on a voxel game (like minecraft). I can not use a prebuilt texture atlas as I need to allow players to add custom blocks to the game.

Read images from url and put them on a dataframe column with the label to another column in python

I would like to read images from url and place them on a pandas dataframe column and place label to another another column. How can I do that please help. Below

create image data in javascript

I want to create a black (or white, I really don't care the "colour") 1x1px image in javascript, I tried doing it with var img = new Image(1,1) but I don't know

how to identify type of noise (if Gaussian/salt and paper etc) in an image using python

Experts, From Noise Estimation / Noise Measurement in Image , we understood that if any image is having noise or not. but different types of noise has diffe

How to antialias picture to get rid of the jerkiness in the image

I am trying to antialias a picture and tried few methods, with open CV and with matplotlib and also with PIL. But still can't get rid of the jerkiness. This is

SVG image tag doesn't work on github README

I wrote sipmple server with golang witch should return a SVG with stats from stack-overflow. Everything works fine as long as it tests the response from my serv

How to extract image from TCP Stream

I need your help. I was creating an application in c# that converts the data from the IP camera to an image (JPEG). I was able to convert the image using the be

Multilabel Multiclass image classification with tensorflow

i try to train a model that classified frames from my garden camera to detect different animals. My dataset has 8000 images, 2000 per class of squirrels, pigeon

image keeps going inbetween two floats, can't clear it

ive been following this guys tutorial, ive timestamped it- and he has a text block that floats to the side. image, which is a div on its own keeps going in the

Re-sizing image resizes entire nav-bar & links

I'm writing simple HTML & CSS & JS code, I've trying to create a responsive nav-bar with my logo as a link for the home page - however, when the navbar

How to add linking images to ckeditor in React?

I want to add Linking images feature to my React app that uses ' @ckeditor/ckeditor5-build-decoupled-document code: import React from 'react' import { CKEditor

How to size images by height and auto width with NextJS Image Component

I have images that I would like to have a fixed pixel height and auto width with object-fit: contain. How does one achieve this behavior with NextJS Image Compo