-4
votes
0answers
23 views

java Image.createImage IllegalArgumentException

I have already looked similar questions on this site but they were not answered. Yes i already looked here too "IllegalArgumentException - if imageData is incorrectly formatted or otherwise cannot be ...
0
votes
0answers
26 views

Filenotfound Exception after resizing .png image

i have an .png image so according to my requirment changed the size, but now in the logcat i'm getting filenotfound exception even though the image is in asset folder, and also there is no capital ...
0
votes
1answer
37 views

How come making my own package gives me issues?

I am learning the basics of programming games in Java. For some reason every single time I created a program with an ImageIcon, I would get an error: Exception in thread "main" ...
-2
votes
0answers
31 views

How to develop Android ocr app? please [on hold]

How can I develop an app which use Optical Character Recognition to extract the text from an image? Additionally, how could I train it to understand handwritten text from a picture? I have already ...
0
votes
0answers
25 views

Call a function after successful loading of image

How to call a function after successful loading of image? Which is the right way to do this? Can I use the following codes for doing the same? public void run(){ while(true){ ...
0
votes
0answers
28 views

how to notifydataset changed properly in listview

i' m developing chat app in which user can send text messages and also images i used listview for this purpose when only text messages are in data set listview shows proper data in proper manner and ...
1
vote
1answer
20 views

How do I display an image in JFrame from only a ByteArrayOutputStream?

I have a ByteArrayOutputStream representation of a JPEG image (although I could use GIF or PNG if that would work better). I would like to display this on the form, such as in a label or image object. ...
1
vote
1answer
28 views

convert Image to Buffered Image in an applet program

I tried many ways for converting an image of Image class to BufferedImage in an applet program. And i got one method which is works fine when running from the netbeans.but same code is not working ...
0
votes
2answers
37 views

This bug appeared in my java program for what appears to be no reason

For some reason, when my sprite hits the edge on the left it does not rebound. The program was working perfectly, but then I changed something that really should have no effect on it at all and it ...
0
votes
1answer
34 views

Adding an image to my panel so that it will appear as background but it is not displayed

import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.sql.*; import java.io.*; import java.util.*; public class molwetsi extends JFrame implements ActionListener { static ...
1
vote
2answers
42 views

Simple metric for blur in images?

I'm trying to tell if a given photo is blurry. I know that this is basically an impossible task, and that any metric will return undesirable results sometimes. I'm wondering if there's a simple ...
-1
votes
1answer
80 views

How do I paint an image on the screen?

I want to add an image to the screen using the paint method? I do not want to use a JLabel because I want to set the location myself. Board.class: public class Board extends JPanel{ ...
0
votes
1answer
26 views

Android/Java - Images are not show correctly when i send it to the browser using a server socket

I have implemented a server socket that send a file (in my case images in .jpg format) when a client do an http get request. Testing using the firefox browser (and firebug), i saw that the bytes of ...
-1
votes
0answers
21 views

How to code an applet to input a url in a browser upload

So i'm trying to code an applet that will allow me to post a url of a picture into a browser upload. would you please guide me how to do it efficiently. HtmlFileInput uploadImage = ...
-1
votes
2answers
37 views

View image in different resolution screen?

I have to put a picture in my application. Not to make her see evil on Android devices with different resolutions is enough to put it into different folders (mdpi etc.) or are there other things to ...

1 2 3 4 5 213
15 30 50 per page