Questions tagged [save-image]
186 questions
2
votes
1 answer
How to Copy file to specific directory & Set Filename, Extension using OpenDialog in WPF?
I have a OpenDialog in my wpf application where the user can choose file and save to folder. I want to Save the image to specific folder and set the filename & extenstion on button click in wpf.
Folder structure:
-MyAppDirectory
--ContactImages…

SHEKHAR SHETE
- 5,964
- 15
- 85
- 143
2
votes
1 answer
Saving shapes on top of large images
I'm creating somekind of 2D image editor in Android and I have the big problem of big files don't fit in memory.
I need to zoom in/out the image put some shapes and then save it.
My question is:
How can I load the image and save it without getting…

Bruno Nunes
- 103
- 1
- 7
2
votes
2 answers
How can i add two uiimageview and save it to iphone photo gallery in iphone application development?
I am going straight to the point,my problem is, I have a uiview controller which is taking 3 buttons and a uiimage view.Now,
When i am pressing first button i am taking image from iphone default photo gallery and placing on uiimageview.
When i am…

Emon
- 33
- 4
1
vote
1 answer
Saving photos to the SD card, automatically creating a folder for it and generating an ID for the photos
The application I created consists of 2 activities – SimpleCamMain.java contains a camera preview window (that displays what the camera is ‘seeing’) and allows a picture to be taken, SimpleCamImageView.java will display the picture that has been…

Jamin
- 11
- 1
- 3
1
vote
1 answer
how can I access to insted div in a webpage after I selected parent div with selenium python
I hope you are all doing fine. I am totally new to Selenium and I am trying to save all images, as well as the text description of each image, on each page of the Realself website. This is what I found in the inspect mode of the website:

morteza eskandarian
- 13
- 6
1
vote
1 answer
.NET 6 API - Upload image from frontend to database
I am working on my first project as a junior developer, but i also got the task of creating the backend API. This is therefore my first time touching any backend so i almost dont know any c# or .NET.
Frontend: Nextjs, typescript
Backend: .NET 6,…

Magnus Pladsen
- 25
- 1
- 4
1
vote
1 answer
Saving content of tkinter canvas as image
Such a question has been posted many times before but I couldn't find a solution which would work with my code. I have a tkinter window with some plots (later the number will be dynamically) and a row and a column title. I need to save an image…

Plantz
- 97
- 7
1
vote
1 answer
How to save multiple images generated using matplotlib & imshow in a folder
I'm working with matplotlib, specifically its imshow() operation. I have a multi-dimension array generated by random.rand function from NumPy.
data_array = np.random.rand(63, 4, 4, 3)
Now I want to generate images using the imshow() function from…

Starlord22
- 111
- 5
1
vote
1 answer
Incorrect saving of transparent UIImage to Photo Library as png with UIImageWriteToSavedPhotosAlbum
I have a function cropAlpha() that trims the extra space defined by the transparency.
func cropAlpha() -> UIImage {
let cgImage = self.cgImage!
let width = cgImage.width
let height = cgImage.height
let colorSpace =…

cybshot
- 13
- 2
1
vote
0 answers
Pillow does not Overwrite existing image
An image is created with plotly and after Pillow is used to increase its quality, intending to save the image on the same path with the same name and format. However, it only works on the first time or when the file does not exists. Once the file is…

Hector
- 31
- 3
1
vote
1 answer
How to reconstruct an image object from a list?
I have been attempting to break an image (.png) into a list, edit the list, and then save the edited image as a file.
After editing the image, and restoring it into an array, mpl.imshow(image) correctly displays the new image, however attempting to…

Kiki-Jiki
- 11
- 6
1
vote
3 answers
Saving an image as a numpy array in a file and loading it back from the file as an image using Python
I am trying to convert an image to a numpy array and save it as a text/csv file. I am then trying to load the contents of the text/csv file back into an image.
In the whole process, the dimension, datatype pixel values must not change in order to…

Sushma Suresh Kalkunte
- 81
- 1
- 7
1
vote
1 answer
Saving a pytoch tensor as a 32-bit grayscale Image
I have manipulated a 32-bit grayscale .tif image which I converted to tensor using PIL. After this I saved it with:
torchvision.utils.save_image(train_img_poac,fp=str(j)+".tif")
This method automatically converts the tensor to an RGB format image.…

Ajinkya Pahinkar
- 11
- 2
1
vote
1 answer
Save concatenated images in MATLAB
I am trying to concatenate two 256x256 images and save them using imwrite. The saved image is supposed to be 256x512, but when I load the saved image, the size shows to be 343x434x3. How do I solve this?
the code I am using is:
new_name3 =…

shaurov2253
- 183
- 1
- 12
1
vote
1 answer
How to Save Image in local Folder in React And Return Path
I have a react app where I get the item data from an API.
and I have image Up loader that Can Save image As byte Array and Send It to Back end. but I want to save Image in any Local folder (Such as assets) and Return Path,Then I Send Path to Back…

Mehrdad
- 61
- 1
- 4