Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
-2 votes
1 answer
136 views

I am trying to display a screen capture as an ImageIcon on a JLabel. To generate the BufferedImage object I used a Robot object along with a MultiResultionScreenCapture. As noted in this Stackoverflow ...
Steven Tracey's user avatar
0 votes
0 answers
70 views

This is my model for document: public class PdfDocumentModel { private final PDDocument document; private float dpi = 110; // Constructor accepts InputStream ...
Weslie's user avatar
  • 1
0 votes
0 answers
69 views

This is the implementation: View model Class: private static final int CACHE_SIZE = 10; // Set cache size to 10 pages to avoid excessive memory usage public PdfViewModel() { currentPage....
Weslie's user avatar
  • 1
0 votes
0 answers
69 views

I am trying to make a small games with a native resolution of 320x180, then scale it up for a bigger window. but I'm getting transparent lines in my sprites. right now I'm drawing to a BufferedImage ...
ben carvalho's user avatar
0 votes
0 answers
48 views

got an interesting issue I am trying to figure out. No other logs are provided in this crash. It also gets double free or corruption (fasttop) on an occasion Its worth mentioning I do understand what ...
Raider00321's user avatar
1 vote
0 answers
64 views

I noticed that when trying to draw a square with a black border for BufferedImage graphics it works fine if it is instantiated as TYPE_INT_RGB but it deforms if the BufferedImage was made as ...
Noah Gaston's user avatar
0 votes
1 answer
91 views

I have a BufferedImage that gets passed into my function (so I don't really know how it's created) and I need to change all of the white pixels to transparent pixels. I'm successfully identifying the ...
Sander Smith's user avatar
  • 1,437
0 votes
0 answers
53 views

I have a project where I need to implement physics with drawn structures. I need to come up with or find an existing algorithm that can find the normal vector at a point on the surface of an image (...
Dodly Game's user avatar
0 votes
1 answer
298 views

I am all day stuck at this issue. I have an array of buffered images and i need a script to concat them on top of each other. I tried to do this using the sharp package, but since I am already using ...
Divocak's user avatar
  • 31
0 votes
1 answer
70 views

enter image description here - Original position of image enter image description here- Zoom in image How can I make text and words readable, clear, good quality image? Source code: private Pane ...
Weslie's user avatar
  • 1
0 votes
0 answers
49 views

I am trying to make a fuzzy select tool for an image editing application and have run into an odd problem. It is giving me an ArrayIndexOutOfBoundsException, at index -1, while x is 0, (it has 1 ...
The Dog on the Log's user avatar
0 votes
1 answer
68 views

I have the following code extracting a sub-image from a JAVA BufferedImage (8-bit grayscale): // create BufferImage from original image (480px x 400px) BufferedImage img = new BufferedImage(origImage....
WolfiG's user avatar
  • 1,213
0 votes
1 answer
126 views

I am messing around with BufferedImages and I wanted to see if drawing an Pixel Art image at its original size and scaling it would be possible. Before I even got to resizing it, I noticed that ...
sky's user avatar
  • 11
0 votes
2 answers
93 views

I am making an image editing application using Java and would like to make a select-by-color tool. A select-by-color tool makes my variable selection, a subclass of Area, highlight pixels in the ...
The Dog on the Log's user avatar
0 votes
1 answer
70 views

import java.awt.image.BufferedImage; import java.io.File; import java.util.*; import javax.swing.Timer; import javax.imageio.ImageIO; import javax.swing.*; import java.awt.*; import java.awt.event.*; ...
SoupMan's user avatar

15 30 50 per page
1
2 3 4 5
144