Questions tagged [image-file]

76 questions
0
votes
0 answers

How to get image file into Netbeans project tree?

For my web application I am developing in netbeans I need access to an image file. However, using an absolute file path to the location on my computer where the file is located doesn't work. Hence I tried to include the file into my netbeans project…
steady_progress
  • 3,311
  • 10
  • 31
  • 62
0
votes
1 answer

How can i make .png my default file extension in java

Here is the snippet where i save the image with a .png extension: WritableImage img = rectCanvas.snapshot(new SnapshotParameters(), null); JFileChooser chooser = new JFileChooser(); chooser.setCurrentDirectory(new…
melar
  • 202
  • 2
  • 15
0
votes
2 answers

Problems with structs in Swift and making a UIImage from url?

Alright, I am not familiar with structs or the ordeal I am dealing with in Swift, but what I need to do is create an iMessage in my iMessage app extension with a sticker in it, meaning the image part of the iMessage is set to the sticker. I have…
blue
  • 7,175
  • 16
  • 81
  • 179
0
votes
0 answers

Download of image file is not working

$scope.displayTaskOutput = function() { console.log("Selected jobId is...."+$scope.widgetForm.query_config.selectedTasks.jobId) console.log("Selected File is....."+$scope.widgetForm.query_config.selectedFiles) $http({ …
sanmoy paul
  • 209
  • 2
  • 13
0
votes
0 answers

Set layout background to parts of a large image in Android

I am trying to generate a view pager swipe layout, where instead of a set of images, I want to use only one enlarged image. When users swipes, the layout should display portions of images from the single image. I know how to use view pager to show…
crazy_coder
  • 1,039
  • 2
  • 8
  • 18
0
votes
0 answers

Extract image associated to a file based on the extension

I want to get the image associated to a file based on the extension. for example: \100xadmin\100xredirectedfolders$\elianf\Desktop\WORK\Query Coalesce.txt I just want to get image related with .txt extension.
Elian
  • 60
  • 6
0
votes
1 answer

Unable to upload image file on server

I am trying to upload image on server. When I click on upload button, I get response code 200 which is OK. But, then I check the folder which is on IIS for checking uploaded image, it shows empty folder. Simply, there is no uploaded file. I don't…
VVB
  • 7,363
  • 7
  • 49
  • 83
0
votes
5 answers

PHP Using str_replace along with preg_replace

I have a string of comma separated values that comes from a database, which actually are image paths. Like so: /images/us/US01021422717777-m.jpg,/images/us/US01021422717780-m.jpg,/images/us/US01021422717782-m.jpg,/images/us/US01021422718486-m.jpg I…
Norman
  • 6,159
  • 23
  • 88
  • 141
0
votes
1 answer

Notice: Undefined index: uploadedfile Warning: getimagesize(): Filename cannot be empty

I tried to use getimagesize function and i got those errors : Notice: Undefined index: uploadedfile Warning: getimagesize(): Filename cannot be empty form
Choose a file to…
andrews
  • 13
  • 4
0
votes
1 answer

Delete File during closing Window

I think that my problem is related with closed Topic: How can I stop process?. That topic is closed and the answer for it doesn't work for me. My problem is fact, that I can't use File.Delete(path). It provides exception:…
darson1991
  • 406
  • 6
  • 18
0
votes
1 answer

Phonegap camera getPhoto from file manager error on Android

I try to load an image file from the phone. And by using the example code (Camera.sourceType = Camera.PictureSourceType.PHOTOLIBRARY), when a button is pressed, a popup showing that I can select to open "Photo Library" OR "File Manager" (some names…
mrmoment
  • 727
  • 2
  • 10
  • 34
0
votes
1 answer

Storing and displaying image files in grails application in cloud foundry

I have an grails application, which allows users to upload image files and these images can be displayed. The application actually only stores file path in database and saves the image files in file system. I've read some posts which says Cloud…
Qingxin Xu
  • 23
  • 7
-1
votes
3 answers

ocr a multipage pdf in python

I am using pytesseract to OCR on images. I have statement pdf that are 3-4 page long. I need a way to convert them into multiple .jpg/.png images and to OCR on these images one by one. As of now, I am converting a single page to image and then I run…
-1
votes
2 answers

"No such file" error when running an autoscript

I am working on a project that is suppose to open during start up of the Raspberry Pi. I can open up several other scripts on start up, however the script that I am trying to open during start up does not open. Note: this code works when i run it…
-2
votes
2 answers

How i can convert unsigned char* to image file (like jpg) in c++?

I have a opengl application that create one texture in format unsigned char*, and i gotta save this texture in one image file, but a don't know how to do. can someone help me? this is my creation of this texture: static unsigned char*…
user3651443
  • 29
  • 1
  • 11