Questions tagged [image-quality]

113 questions
2
votes
1 answer

Scaled and transform Qgraphicspixmapitem

I have a problem while scaling and transforming QGraphicsPixmapItem. I have created graphics editor in which I am using QGraphicsItem of initial size 100,100 and after that I am resizing and rotating it by setTransform() method. After that I am…
2
votes
0 answers

Can I retrieve a remote image without quality loss?

I'm trying to retrieve a remote image, but when I view the image (either output straight to browser or saved to disk and viewed) the quality is always lower. Is there a way to do this without quality loss? Here are the methods I've used, but with…
TMH
  • 6,096
  • 7
  • 51
  • 88
2
votes
3 answers

How to upload image to server in full quality in android using Httppost without compression

I am trying to upload image to a server without compression, to keep full quality. I found the following method : compress(Bitmap.CompressFormat.JPEG, 100, bao); but it doesn't work in my case. The original image is 2 MB, but once on the server…
2
votes
2 answers

Reducing JPEG image quality without saving

I am trying to programatically reduce the quality of an image in the fastest way possible. Right now, I am able to read image from byte[], then as a MemoryStream read it to Bitmap and via Drawing.Imaging.Encoder.Quality change its quality when…
Marek
  • 3,555
  • 17
  • 74
  • 123
2
votes
2 answers

What influences the C# PNG lossless compression ratio?

Bitmap clip = new Bitmap((int)(8.5 * 72), (int)(11 * 72)); MemoryStream stream = new MemoryStream(); clip.Save(stream, System.Drawing.Imaging.ImageFormat.Png); byte[] bytes = stream.ToArray(); I ran it on my machine and the bytes.Length was 8587,…
Csaba Toth
  • 10,021
  • 5
  • 75
  • 121
2
votes
1 answer

Image quality loss in GalleryView when using Lazy Loader in Android

I am using Gallery View in my android application.and all images come from url, so i am using LazyLoader for imageloading in GalleryView. gallery populated completely. but it losts image quality.. i want to populate gallery without image quality…
2
votes
1 answer

Scaling down PNG images for android buttons become blurry

I am trying to scale an image down from 109x105 to 48x48 to make a button background. I have done the scaling in photoshop and the image is a vector. However when I run it on my phone the smaller image comes out blurry. The large image is perfect…
contool
  • 1,034
  • 3
  • 18
  • 29
1
vote
3 answers

How to scrape good quality images from a site? (Python, Selenium)

I'm trying to use a web scrapper that gets images from a site. However, my methods cause a severe drop in quality. I'm trying to scrape the images from this site. I have tried to download the image and use the image link I got from the href tag.…
NullF3alty
  • 15
  • 3
1
vote
1 answer

How to create banner image with two different dimensions ( one compatible with mobile and another compatible with laptop) in Figma

I want to create banner image which is compatible in both mobile and laptop view. I want to store banner image with two different dimensions in database and use appropriately for mobile and laptop view. The two images should be same ( ie any of the…
1
vote
2 answers

Best way to generate a high quality word-cloud image for a Dash-app

I have an issue with my wordclouds displaying very pixelated on my plotly dash app. I am using the wordcloud class to generate the wordcloud, then using go.Figure() with a go.Image() trace to generate the plot that is returned to my dash app as a…
1
vote
0 answers

Determine the rating for text quality in an Image

I want to determine the quality score of the text by giving them some score or rating (something like ' image-text is 90% bad. Texts are not readable ). What I am doing now is I am using the Blind/referenceless image spatial quality evaluator…
1
vote
0 answers

Unable to Read Sample BRISQUE SVM Model YAML for OpenCV 4.5.5

I intend to use OpenCV BRISQUE quality metric for reference-less image quality evaluation. For now, I am simply trying to use pre-trained BRISQUE model and range files provided with OpenCV to get a feel of the feature. Here is my code for the…
1
vote
0 answers

Is there a way to improve the thumbnail quality of links posted to facebook?

I'm trying to post a link on Facebook that directs the user to a page on a website. I have configured the page to have the og:image and the og:image:secure_url properties holding the link to the image and the og:image:width and og:image:height are…
Nick
  • 11
  • 2
1
vote
0 answers

JPG file loaded into the node canvas module loses quality after operations and export

I am using the node canvas implementation https://github.com/Automattic/node-canvas I use it to cut a jpg export of a newsletter design into slices and generate an image based HTML template that is email friendly. Essentially it's just slices from…
1
vote
0 answers

How do I Resize An Image In a RichTextBox?

this might sound like a repost of a question already asked. However, I have spent a few days looking through and testing many different examples from a number of different websites (incl. stackoveflow.com). Up to now, I got mostly undesired results…