Questions tagged [image-quality]
113 questions
3
votes
1 answer
libGDX texture quality scaling down
i am new to libGDX and I just wanted to put a image onto the screen. I have a red ball image which is 800x800 and when i try draw the texture:
batch.draw(ball,50,50,50,50);
The quality of the ball is really bad, but when I don't scale it down, the…

user3650664
- 161
- 1
- 14
3
votes
2 answers
Storing Bitmap in SD card loosing the image quality
I am storing the bitmap in SD card while retrieving loosing their quality. how can i resolved this issue. Below is my code to store the bitmap in Sd card.
public void saveExternalPrivateStorage(File folderDir, String fname,
Bitmap bitmap)…

user3154663
- 291
- 1
- 2
- 18
3
votes
1 answer
Why is AVCaptureSessionPresetHigh's picture so dark?
Playing around with AVCapureSessions and trying to display the output CMSampleBufferRef's in different ways (using a AVCaptureVideoPreviewLayer, displaying a CGImage and transforming it to a UIImage), I also looked at all the different quality…

johk95
- 873
- 10
- 28
3
votes
1 answer
Image quality of socially shared image
Problem Resume:
I take a photo with camera or chose one from the library, then add some UITextFields to it (next to UIImageView with the chosen picture), create one UIImage of it all, and then I want to share this, particularly on Facebook and on…

Gyfis
- 1,174
- 1
- 14
- 35
3
votes
2 answers
Shrinking Image Quality Loss
I'm displaying images in a JS Carousel. The images are extremely large size so I shrink them down in the HTML. I do some math to maintain the aspect ratio. In the end though those large images reduce in quality. It should be noted these images…

Mitchell
- 253
- 1
- 5
- 16
2
votes
2 answers
Is it possible to set quality in Image Intervention for WebP images?
I want to convert jpg to webp and set the quality to 50 (as an example). But the Image Intervention only supports the quality parameter only for jpg files.
quality (optional)
Define the quality of the encoded image optionally.
Data ranging from 0…

kodfire
- 1,612
- 3
- 18
- 57
2
votes
1 answer
Is MATLAB's PIQE function wrong?
I'm trying to train a Deep Learning model for image super resolution, and I wanted to implement the PIQE score as a loss function. Since I will be training the model with pytorch, I was trying to make an own Python implementation of the algorithm to…

Álvaro
- 564
- 5
- 13
2
votes
4 answers
Can't upload image with 100% quality
I'm trying to upload image via PHP, but I'm unable to upload an image with 100% quality.
The code I'm actually using
class imaging
{
// Variables
private $img_input;
private $img_output;
private $img_src;
private $format;
…

pavel
- 26,538
- 10
- 45
- 61
2
votes
0 answers
Why do I get higher image quality in Chrome if I scale canvas in steps?
When using HTML canvas in Chrome, why do I get better image quality if I do:
ctx.scale(0.5, 0.5);
ctx.drawImage(image, 10,10);
ctx.clearRect(0, 0, canvas.width, canvas.height);
ctx.scale(0.5, 0.5);
ctx.drawImage(image, 10,10);
instead…

Nitramk
- 1,542
- 6
- 25
- 42
2
votes
0 answers
MS Access 2013 Report - Bad quality image on Print view, but fine on Layout view
In a MS Access 2013 Report, I import into an Image Control an image as OLE Object from an Oracle DB (from a BLOB column). The images are stored as .jpg to the DB with high resolution.
In Report View the image is correctly displayed, but in Print…

Francesco
- 9,947
- 7
- 67
- 110
2
votes
1 answer
Increase quality of grayscale image produced from BufferedImage
I am attempting to increase the quality of an image produced from a BufferedImage. The final aim is for a JPEG to be input (here it is retrieved from a file on the computer), be converted to a grayscale TIFF and then output as a byte array. I have…

jj1190
- 23
- 6
2
votes
1 answer
Can blurring on an image be reversed if the blurring algorithm is known?
I realize that it is impractical to think you can get higher quality out of a already blurry image. That's like trying to make 12 twelve loaves of bread from 2. However, I was wondering, say someone had put a blur effect on an image and you happen…

Edward Snow
- 91
- 1
- 6
2
votes
1 answer
Get highest AVCaptureSessionPreset Available
I am working on a camera app, and I would like to make the camera as clear as possible. As I am using the front camera, I am currently using this:
captureSession!.sessionPreset = AVCaptureSessionPresetHigh
However, in some cases, the pictures turn…

Pranav Wadhwa
- 7,666
- 6
- 39
- 61
2
votes
1 answer
Poor quality image when restart the application
In the app there is an item add an avatar in your account, when you add it - the picture is filled to the server and displayed as expected:
Good
But if i do restart the application, then image quality is lost:
Bad
When comparing the weight and…

John Lender
- 21
- 3
2
votes
1 answer
JasperReports 6.2 image quality
I found out a lot of articles how to improve the quality of images inside generated PDF document by JasperReports engine, but almost solutions don't work for me or they refer to older version of JasperReports.
Therefore I want to know what is the…

ZaptoS
- 141
- 1
- 1
- 9