Questions tagged [save-image]

186 questions
1
vote
1 answer

Save images from url with variable

After your help, many stackoverflow posts, the solution is at the bottom of this post as an UPDATE. I am trying to save some images automatically using this code in a php file : for ($num1=100;$num1<999;$num1++) { for…
Datacrawler
  • 2,780
  • 8
  • 46
  • 100
1
vote
1 answer

save image in db erro & decodeByteArray give null

I am trying to download image and save it to db i download it and save i to BLOB field when want to retrieve it it get me null value.I search a lot and examine lots of things but I have no idea where is the problem :( . save image part : MyDataBase…
user5296198
1
vote
1 answer

How to add option of "save image to gallery" in share via menu in android?

I am sharing an image to different apps using an intent as ACTION_SEND, but I also want to add an option of "Save image to gallery", in the same menu. Is there any way to do it ? Please help me somebody. Thanks in advance.
1
vote
2 answers

Getting Black Image when saving a JavaFX snapshot

I have set up a background Task that waits several seconds after a given Panel/Chart become visible. That is performed by running a sleep on a background non-GUI thread and then upon waking up it runs a Platform.runLater to create the snapshot and…
WestCoastProjects
  • 58,982
  • 91
  • 316
  • 560
1
vote
2 answers

function for saving images issue

I have created a function with two input parameters. 1 inputs the image url, the other one basically a string, which is the source name of the image. I have tried to created it in a such way where if it fails to get the image, return a default image…
comsci_dude
  • 194
  • 2
  • 13
1
vote
1 answer

Save picture in specified folder

I could save a picture in the folder I want by my code but that wasn't good enough, because my code was giving a copy of image in my folder and another one in the gallery (DCIM). The code: Btngetdata.setOnClickListener(new OnClickListener(){ …
1
vote
0 answers

drawing a bmp from a panel saves an empty image c#

I am trying to draw a rectangle into a panel and then save this into a bitmap. the screen shows that I have been successful drawing the rectangles but when I view the saved bitmaps, they are empty white rectangles. …
Falah Abu Hassan
  • 105
  • 2
  • 11
1
vote
2 answers

VBA - Opening a website and saving it as a .GIF extension

I am trying to open and then save a web page which contains an image as a .GIF extension to my desktop. The below code opens a test page for me: Sub test() Dim IE As Object, Doc As Object Set IE =…
Suraj Khosla
  • 151
  • 1
  • 3
  • 11
1
vote
3 answers

How to store Image Resource/Name in preferences

I have a scenario: Suppose, there are two images: one.png and two.png. User will have to select an image, I have to save image's name or Resource ID in preferences. Later when user will open the app, I will load the image user selected last time.…
NightFury
  • 13,436
  • 6
  • 71
  • 120
1
vote
1 answer

Save drawing from canvas to Local folder

I'm developing a web application with signature capture and storage functionality. I have done the image catering using canvas drawing. Here is my code: