Questions tagged [save-image]
186 questions
4
votes
2 answers
Geoshow in Matlab - facecolor changes when printing to tiff file
My figure is a map of the USA. I would like all states' facecolor to be white unless specified:
ax = usamap('conus');
states = shaperead('usastatelo', 'UseGeoCoords', true,'Selector',{@(name) ~any(strcmp(name,{'Alaska','Hawaii'})),…

user2861089
- 1,205
- 4
- 22
- 44
3
votes
0 answers
capture image on keypress after face detection in tracking js and save image to database
I am using tracking js for face detection. I successfully detected the face but I don't know how to capture image frame and save it to database. I want to use Mysql as database. At least, I want to know how to capture the face detected frame and…

Jai Prak
- 2,855
- 4
- 29
- 37
3
votes
0 answers
How to save plots with the correct theme (local font) using Gadfly in Julia language?
I want to create a plot using Gadfly in Julia programming language and the html or jupyter notebook output is as it should; including the correct local font theme (here for example a Bold Avenir). But when I try to save the image (e.g. as pdf,…

mo_blu
- 135
- 1
- 7
2
votes
2 answers
Loading/Saving images misorder
I got a directory full of only PNG images (580 images).
I load the images in memory with this function
private List images = new List();
foreach (String s in Directory.GetFiles(@"frames\", "*.png"))
{
images.Add(new…

capzulu
- 105
- 1
- 4
- 13
2
votes
3 answers
Android: how to take picture with camera and convert bitmap to byte array and save to sqlite db?
I'm still fairly new to android and still trying to figure out how to save an image to a SQLite DB. As is I am trying to call the camera with a button click event to take the photo and on the return trying to save it to a database as a blob. I…

cking24343
- 3,173
- 1
- 21
- 23
2
votes
2 answers
R plotly::save_image / kaleido : static export from R not working
I am trying to save a static image from a plotly graph using plotly::save_image(), but everytime I run this function, Rstudio gets stack (busy red icon) and needs to be restarted. There is not any error message displayed.
I have run the following…

DS2022
- 21
- 2
2
votes
1 answer
Saving PlotlyJS plot as PNG (Julia)
I would like to save a PlotlyJS plot as a PNG using Julia, but I cannot figure out how. The PlotlyJS webpage for Julia states that "to save the chart for external viewing you can do so using the savefig(p, filename::String) method". However, the…

AaronJPung
- 1,105
- 1
- 19
- 35
2
votes
0 answers
When I take a photo with my Android webview it saves it with 0B and doesn't upload
So when I open my phone's file explorer it shows my image but it is 0B. It also doesn't upload the image. It seems like the app isn't writing to file properly and I can't seem to figure out why it does this. I have been struggling with this for a…

Martin De Beer
- 51
- 6
2
votes
1 answer
C# Saving Images From Array
I have an array of images I have resized, what I'm trying to do is save them straight from the array...
foreach (Image I in Resizedimages)
{
string f =…

aelsheikh
- 2,268
- 5
- 26
- 41
2
votes
1 answer
Save images from Subreddit to folder python
I have been reading through alot of documentation around Praw, bs4 and I've had a look at other peoples examples of how to do this but I just can't get anything working the way I would like. I thought it would be a pretty simple script but every…

Oli Shingfield
- 109
- 1
- 9
2
votes
1 answer
How to save the graph of JFreeChart in the PNG image?
There was a problem with saving the graphics I received in the form of a picture in a folder on the computer. It seems to me that the problem is in the saving method in the picture, but I do not know how to fix the problem. I marked the problem area…

VIRICH
- 177
- 1
- 14
2
votes
3 answers
Saving User's Profile Picture from facebook API - PHP SDK V.5
Scenario: I am working on an app through which i need to download the user's profile picture from Facebook, apply a specific filter and then re-upload and set it as profile picture, which is possible using this trick.…

Yousaf Hassan
- 494
- 4
- 14
2
votes
0 answers
save 16 bit image with imwrite
I am loading 16 bit image using openCV in Python. Then I do some processing on it and save it back on the disc using imwrite() function of openCV. Surprisingly, the image is rescaled between 0-255
On the other hand, if I save image without any…

user1388142
- 581
- 2
- 11
- 26
2
votes
2 answers
Saving a chart as an image in MPAndroidChart
I am using the MPAndroidChart to render various charts. I wanted to add the functionality of saving the charts as images to the gallery. I added an icon to the action bar to use this functionality, but the image does not save to the gallery.
The…

Arjun Issar
- 672
- 4
- 13
- 32
2
votes
2 answers
Save images with CURL, sometimes it saves blank images
I have this script where I fetch image links from specific websites, therefore I created a function where I pass the image link and source name of the website which will be used for placing the images on their corresponding directories.
However…

comsci_dude
- 194
- 2
- 13