Newest 'image' Questions - Stack Overflow

Questions tagged [image]

The image tag is for questions related to the loading, formatting, saving, compression, and display of images in the context of source code. This tag should also be used for assistance using various image libraries. Questions about specific image formats should include the tags for those formats. Include tags to mention if the question relates to format conversion, processing, etc.

0
votes
0answers
6 views

Image gallery with Flutter

I'm building a flutter app that displays products. Now, in the product details page I fetch product data along with product images as URLs using http package. My question is what is the best way to ...
0
votes
0answers
4 views

how to detect scanned document image orientation angle using deep learning?

I need to detect the document orientation using deep learning techniques if anyone could help please suggest any working methods other than pytesseract.(i'm looking for a algorithm or a deep learning ...
0
votes
2answers
15 views

Calculate image ratio in JavaScript. Result can be approximate to the specification

I would like to have an approximate indication of the picture ratio. The specifications are 16/9 and 3/1; The example image i will check has the dimensions of 1281x720px; To calculate the ratio i ...
0
votes
0answers
6 views

Received memory pressure event and App crashed may be because of background image size

I am having seven view controllers. Each of them is loaded inside the navigation controller. First one being viewController1 and the last one being viewController7. So viewController1 will be pushed ...
-2
votes
0answers
7 views

Tiff conversion to PDF produces (mostly) blank file in case multiple files in image

while converting tif image to pdf most of the times generate blank pdf file. some tif images have multiple pages. unable to generate proper pdf in same case
0
votes
0answers
7 views

Is it necessary to provide images of specific shape for testing the Generative Adversarial Network?

I'm using Generative Adversarial Network for super-resolution of images. While training the model, I'm providing super-resolution images(shape= 256,256) and respective low-resolution images(shape =64,...
0
votes
0answers
5 views

Saving pdfminer extracted LTimages

I am working with Python 3 and I have had a strange problem with pdfminer(.six). I use a code similar to OP's in this question: Python pdfminer extract image produces multiple images per page (should ...
-2
votes
1answer
26 views

How can i remove stains from images using python? [on hold]

I am making a script that removes spots from scanned images like noise and contrast, but right now I want to remove stains from images but what is a good way to handle this? this is an example of an ...
0
votes
0answers
13 views

How to extract time in the image in pytesseract

I need to extract the particular time string in the image. I tried pytesseract but i am not getting result import cv2 import pytesseract from PIL import Image image_obj = cv2.imread("Frame3.png") ...
-1
votes
0answers
24 views

Download image with specified size in flutter

I would like to download an image with a specified size, In my case, I have very big images around 2450X1440 resolution. For Grid and list, I don't need a full size, I would like to load thumbnail of ...
0
votes
1answer
9 views

How to display a pyqtgraph image in a form created with qtdesigner?

I've created a form, placed GraphicsView on it, promoted the widget to pg.GraphicsWindow. Now I can plot a graph with q.addPlot(), but how do I display an image? The way suggested in the examples ...
0
votes
0answers
9 views

Load Only New Image from Folder Periodically

I have a webpage with Picture Mosaic on it. My Picture mosaic has very small images as I want to fit most of the images without compromising on Design. I also have a Client App which uploads/sends new ...
1
vote
1answer
23 views

<picture> element has unexpected behaviour on iOS

I'm using the <picture> element with srcset to load different images for different screen resolutions. This is for art direction reasons - I'm wanting different shapes - so I need to use <...
0
votes
1answer
21 views

Image upload in CreateView

I have a CreateView in my project to post a tweet-like-post. It has a title and content. It look like this in views.py class PostCreateView(LoginRequiredMixin, CreateView): model = Post ...
0
votes
2answers
34 views

Building an HTML/CSS page but images won't load

I'm building my first website in HTML/CSS but for some reason none of my images show up when I load the HTML files in Chrome. When I hit F12 and go to the 'sources' menu, I can see that my index.html ...
0
votes
0answers
10 views

How to get the data from a column which has sometimes image

I am trying to collect the columns of the following website into R. http://bcfireinfo.for.gov.bc.ca/hprScripts/WildfireNews/Fires.asp?Mode=normal&AllFires=1&FC=0 I succeed to get the data of ...
0
votes
1answer
16 views

How convert type 'UnityEngine.Texture2D' to 'UnityEngine.Sprite?

Hi i try to convert my Texture 2D in Image (and i cant use a Raw Image because the resolution dont match in phones) but the problem is that Image does not have the Texture element. how Convert ...
0
votes
0answers
23 views

How to fix “Function or Variable is not defined” error when variable is defined and used previously in Matlab?

The code is supposed to look through a certain folder for any subfolders. Then within each subfolder it is supposed to look for every image and average them all together. It then saves that averaged ...
0
votes
1answer
9 views

uploading jpg to wordpress site gives permission denied

I'm trying to upload an image via Wordpress, I get an HTTP error. When I use FileZilla, it gives "permission denied" error. When I right click the folder "uploads" and choose file attributes, it ...
1
vote
2answers
32 views

React-Native check image url

I am trying to check if the url of an image is 404 or not. The problem is that the function is returning undefined. Why is this happening? If I console.log the status of the res it does show 404 so ...
0
votes
2answers
24 views

Trying to use ffmpeg to create slideshow from ISO-8601 named pictures. Getting output with no playable streams

I'm trying to create a slideshow of images that are irregular in dimension/orientation but all named with the same ISO-8601 date format. I've normalized the filenames so they are all YYYYMMDD.jpg. I ...
0
votes
0answers
10 views

Ionic 4 PWA - Upload image on Firebase

I'm developing a pwa and I need to upload on firebase storage some picture from the device. The native camera plugin don't work on browser and I'm not able to find any other solution. There is a way ...
0
votes
0answers
21 views

Collapse a dimension of a 3-D array into 2-D with logical_or and Numpy

I have a 3 dimensional array of 2-D masks (x,y) (for context, the masks were produced by a video) and I want to collapse the masks into one x,y dimension. I have a about 600 masks in the array. Is ...
1
vote
0answers
19 views

How to make the browser choose between <video mp4> and <img webp>

GIFs are heavy (xx mb), so we convert them to mp4 and webp. How to make the browser choose <img webp> or fallback to <video mp4> if he does not support webp? I know we can use <source&...
0
votes
1answer
19 views

D3.JS: Discrete filter for image processing

I have an arbitrary raster pattern where blue is -1.0, white is 0.0 and orange is 1.0 (left image). Need to develop an SVG filter, similar to this reference Graying out an image in D3js), but for ...
-1
votes
0answers
12 views

How can I fill pattern in image without canvas using js or any library

I'm trying to fill the image with a pattern in HTML, but I'm not successful. Could you help me please? Note: I'm able to fill the image using canvas. Thanks in advance.
-3
votes
0answers
10 views

Image manipulation using a for loop

enter image description hereI'm stuck on this: I have a task to take a picture and to make it look like the pictures added in the link. but in short, i get into the function a picture of a building at ...
0
votes
1answer
24 views

Cannot Render Images onto Canvas for Game Using getContext

I have the following code. I am trying to get my HTML site to render the background image (bg) and the pipe images (pipeNorth and pipeSouth) on my canvas. I am using chrome. 1st CODE ATTEMPT ...
0
votes
0answers
17 views

If i mirror an image with the canvas multiple times, why does the image lose quality?

mirror() { const mirrorCanvas = document.createElement('canvas') as HTMLCanvasElement; const clientRect = this.parentRef.nativeElement.getBoundingClientRect(); const image = new Image(); ...
0
votes
2answers
14 views

Placing logo image into navbar

I am getting a broken image when I put my logo inside of the navbar. I have it saved locally inside the public folder. I have tried passing as a prop, and directly linking to the path, but i cannot ...
-1
votes
0answers
7 views

Save output (text+pictures) Python jupyter in html [on hold]

I have some code that creating view like dashboard: picture, text, picture, text, etc. I want save output in html, i can do it by clicking on menu, but i want to save output with some function. Save ...
0
votes
0answers
21 views

Varying image size in pytorch celeb GAN

I'm making my way through this tutorial: https://pytorch.org/tutorials/beginner/dcgan_faces_tutorial.html I get some very unhelpful errors when attempting to change image size. Upon attempting to ...
0
votes
0answers
16 views

Find average of set of TIFF images and save it in TIFF format

I am capturing set of images in tiff format and wants to find average of those images. The average output of images should be in TIFF format. Currently, I am using evaluate mean function of ...
0
votes
2answers
34 views

How to save images in laravel?

I get the image from the user form. I need to resize the image and save it to public/images. The link to the picture must be saved to the database. Now I have a temporary storage of the /tmp/...
0
votes
1answer
14 views

Transform an image into an array of buttons

Assuming I have an image...is it possible to split it into an array of images where each button has a section of the image? I need to assign coordinates to each button so when a section of the image ...
0
votes
0answers
21 views

rsa image encryption in python

I have a code in python that encrypt/decrypt image, it work but the problem is when i went to split it to 2 programs one for encryption and the other for decryption.the decryption program give ...
0
votes
0answers
16 views

python, qtreewidgetitem, numpy matrix and image widget

I would like to create a json file viewer in order to iterate through the key/values of the file. For that I decided to go with a qtreewidgetitem where in the first column I would have the key, in the ...
0
votes
2answers
35 views

Giving Elements an other structure than a box for example a triangle

I have a box with 3 triangles inside. The 3 triangles should be a link, but they are clickable boxes and not triangles, so if you click on one image it depends which link is the destination. If you ...
0
votes
0answers
14 views

RBioFormats library needs internet connection to load

I'm using RBioFormats for image processing purposes with R. I'm not able to load RBioFormats library when my computer has not internet connection. R's console throught the error message: Error: ...
1
vote
2answers
22 views

How to serve image files to frontend with Spring Data REST?

I'm trying to create a movie database web app. Each movie should have a poster image. I don't know how to correctly serve images to the frontend with Spring Data REST. Movie.java import lombok....
0
votes
0answers
7 views

Invalid index to scalar variable using imageio

I´m importing images of cat and horses into neural net vgg-19 using imageio and then I want to import just single image to predict class, but there is error invalid index to scalar variable. This is ...
-1
votes
0answers
14 views

My wordpress website (logos alt text )alt text not showing [on hold]

My WordPress website alt text not showing (logos alt text ) https://get.club/register/ I have added the alt text in the image but it's not showing it, can anyone please help??(i'm not a developer ) ...
-4
votes
3answers
37 views

How to set the right path to image in java?

I am trying to load and draw it with paint method in java whatever the way I write the path it always shows an exception java.lang.IllegalArgumentException: input == null! at javax.imageio....
2
votes
1answer
31 views

How to programatically add product images in django oscar?

I am currently programatically importing products into my product catalog, however, I am having difficulty uploading images for each product. Here's what my code looks like: # frobshop/custom_utils/...
0
votes
1answer
24 views

How to play each video from array when an image is clicked using javascript?

I have two arrays.One of videos and one of images. I need to play only one video at a time when image is clicked. Like if clicked on img[1] then it should play video[1] and if img[2] then video[2]. I ...
1
vote
0answers
22 views

How do I vertically middle-align on a responsive width/height container that gives the image max height or width

I am making a photography website, and when an image is clicked, it fullscreens the image (100% width and 90% height, there is a label on the bottom with 10% height) Here is an example of what I'm ...
0
votes
0answers
23 views

Can you enlarge a pic with clicking a link within a modal?

Now i read having a modal within a modal isn't decent coding. But i had an idea of creating a modal that will let you click a photo icon (probably a small icon), and then a photo pops up. My goal is ...
0
votes
0answers
28 views

How to distinguish noise from an actual change in an image?

I'm trying to see changes between two static photos with slightly different lighting. The problem is i'm not sure whether the change between photos is caused by noise or an actual change in photos. I ...
0
votes
0answers
8 views

why can't I fetch multiple images django views?(I haven't used django forms)

I am making one website in which I want to upload and fetch multiple images with simple HTML form <div class="row"> <div class="input-field col s12"> <div class="file-field input-...
-1
votes
0answers
39 views

Find shape in an image?

You can see this image and I want to find the outlined(square) in the middle. I already did the canny edge detection to find the edges in the image. Here is the result for the same. But I am not ...