The objective of image compression is to reduce irrelevance and redundancy of the image data in order to be able to store or transmit data in an efficient form. Image compression may be lossy or lossless.
Questions tagged [image-compression]
816 questions
3
votes
2 answers
What is the best practice for image compression
I am receiving control of a website and I need to take care of an image compression process.
Right now, when uploading an image, it gets stored on the server with high quality and when the website's being cached, the image is getting compressed for…

Omer
- 57
- 1
- 7
3
votes
0 answers
Image not display in html img tag
I working on ipa file which is ios app and I am trying to extract app's icon using php IPA Distribution and all things go fine , but when I trying to display that image into web browser the image can not displayed .
I think the image is compressed…

Muh
- 73
- 1
- 3
- 12
3
votes
1 answer
App crashing due to high resolution image
In my app, I'm giving user the feature to set an image for the app's homescreen background(from gallery). The app works fine if the image if low resolution but if the user sets a high resolution image the app crashes on startup giving this…

Rektirino
- 582
- 5
- 24
3
votes
0 answers
Error while using JIC for image compression in client-side
Using a solution in this question by brunobar79. My problem is that I am getting the following error;
Uncaught TypeError: Failed to execute 'drawImage' on
'CanvasRenderingContext2D': The provided value is not of type
'(CSSImageValue or…

shahz
- 598
- 1
- 8
- 20
3
votes
2 answers
Bitmap.compress doesn't decrease the Byte count
I need to compress an image to send it to my server. I am trying to do it this way:
private Bitmap compressImage(Bitmap bitmapImg){
ByteArrayOutputStream out = new ByteArrayOutputStream();
bitmapImg.compress(Bitmap.CompressFormat.JPEG, 50,…

Minoru
- 1,680
- 3
- 20
- 44
3
votes
1 answer
bitmap.compress destroys the picture quality
I'm using an app to get the gps location and draw it as a circle on a bitmap then save it to proceed, so I need repetitively to read and save the file. But unfortunately when I save the file and read it, the file is damaged after some iterations...!…

Mahdi_Alavi
- 45
- 1
- 2
- 8
3
votes
1 answer
Cordova camera getPicture is lossless compressing even when quality is 100
Hello friends In my project, I'm able to capture the image via camera or gallery the size of the Image file vary to 5-6 MB based on the quality of camera or user selected image.Then I have to upload it on server.
The requirement is, before upload…

Sanket Dorle
- 117
- 1
- 12
3
votes
1 answer
Get file path of image loaded with glide
Can some one help me how to retrieve the file path where the image is stored using glide in cache? I want to send the image loaded with glide into image view to server. May I know how I can get the file path of cached image? The reasons for choosing…

user3044690
- 46
- 1
- 4
3
votes
2 answers
Convert JPEG image to TIFF without increasing file size
I am trying to convert a JPEG image to TIFF. The converted TIFF image is three times larger.
Can someone help me get a TIFF image with the size of the original JPEG?
import com.sun.media.jai.codec.FileSeekableStream;
import…

user7701195
- 31
- 2
3
votes
15 answers
Image compression for webcomics
As probably many people around here I read a few webcomics. Drowtales is my favorite, but that's besides the point.
For a long time a thought has been nagging me at the back of my head: webcomics are drawn pictures. They are not photographs. There…

Vilx-
- 104,512
- 87
- 279
- 422
3
votes
1 answer
Image Compression using WebP technology
WebP technology is use for both lossy and lossless image compression which compress image more than "JPEG" and I'm studying in image compression technique. so if any one can provide me clear algorithm for WebP image compression it would be help full…

Samir Karmacharya
- 890
- 7
- 22
3
votes
2 answers
Bitmap.compress - isn't working
I'm trying to compress picture I've taken with the camera without scaling the image size.
I tried bitmap.compress, but it didn't worked.
just to be sure I tried compressing on bitmap loaded from resource but still no success.
any ideas?
example…

Roee
- 1,155
- 3
- 15
- 24
3
votes
1 answer
How compress android bitmap and don't change width or high
I want to compress bitmap , but I don't want to change the width and heigh.
My bitmap type is .PNG, So bitmap.compress() does not have any effect. I need a method to resolve it.

Crazy Zhang
- 53
- 7
3
votes
4 answers
How to compress an image file in Android?
So for each image I have its path (in the form of a string). And I convert that path string to a file. I then store that file into Firebase storage, but my problem is that the file is too large when I query. So I need to compress it before uploading…

TheQ
- 1,949
- 10
- 38
- 63
3
votes
2 answers
Convert from TIFF to PNG using Windows?
Is there a way to convert all TIFF images to PNG using windows console or any simple tool.
I renamed tags, but the problem now is file size. What are ways to compress files?

Aipo
- 1,805
- 3
- 23
- 48