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
0
votes
0 answers
Effective JPEG compression for HF content?
I have an image with grayscale background and 2 thin lines (1 pixel wide) drawn in color. I'm trying to use various JPEG compression table (luminance and chrominance) to get the best possible result while staying under a certain file size.
The…

Borisw37
- 739
- 2
- 7
- 30
0
votes
1 answer
Php Image compression and crop does not work for above 3mb jpeg
I want people to upload their images to a page, then compress & crop them. Given below is php code for image compression , which compress the jpeg and download the compressed version. This works fine upto 3mb(4567*2755) but not files above…

Deepak S Rautela
- 67
- 1
- 1
- 13
0
votes
1 answer
Passing a file from command line to PHP stdin
I am using an image manipulation library in PHP called Intervention. It's a great library but doesn't quite have all the features I need, specifically lossless compression. There are command line tools that do this, but I want to do the processing…

Patrick Stephan
- 1,809
- 16
- 23
0
votes
0 answers
Oracle JPEG compression - file sizes
We have an unsupported Oracle application running 9i as the database server and 10g on the application server.
As part of the application we are able to load and save photos (jpeg) within the database. We have started using the photos for…

h20vrrq
- 13
- 5
0
votes
0 answers
Image compression in qt
I have created a qt project that take screen shot of the desktop and compress it .As far as I have taken the screen shot and scaled it.The original screen shot is about 230kb size and while scaling it reduced up-to 60kb.My problem is I need to…

Dev
- 95
- 1
- 12
0
votes
0 answers
How to increase JPG file size in same resolution?
I can capturing, cropping, resizing and saving photos. Saving photos with same resolution (133x171). I need this resolution and greather than 20KB jpeg file size.
Sometimes it capture smaller than 20KB. I want to save all photos greather than 20KB.…

RedLEON
- 281
- 2
- 7
- 19
0
votes
1 answer
Is there an image format suitable for compressing images that only contain a few colors?
I have an image of a cartoon, which only has 4 colors (when not anti-aliased).
Is there an image format that analyses the color palette of the image, and compresses it heavily because it only has a few colors? Something like dynamic palette image…

penduDev
- 4,743
- 35
- 37
0
votes
1 answer
MPEG-1 Video Compression Quantization
MPEG-1 quantizes both inter-frames and intra-frames, however I am curious why the quantization table for inter-frames are all constants, whereas the default quantization table for intra-frames is not.

Petrov
- 87
- 1
- 1
- 8
0
votes
1 answer
How to decompress an image stored using stenography?
I am currently doing project related to "image steganography" in Java, for that I want to compress and decompress the secret image. I have done the compression part. But I don't know how to perform the decompression part.
I have compressed the JPEG…

user3831796
- 29
- 7
0
votes
1 answer
Best practice on loading images from servers
Making an app that loads images from server. The image is just like an achievement badge that gets unlocked (i.e) loaded from the server. Am not sure on how to handle this scenario if there is no internet connection, as the image won't be available.…

Badhrinath Canessane
- 3,408
- 2
- 24
- 38
0
votes
2 answers
The images are different even though they are saved to the same quality
I used the function imwrite of OpenCV for Python in order to convert a set of images from PNG to JPEG format, without specifying the quality (the default value is 95), so I obtained a first set of JPEG images.
Then I used the same function in order…

enzom83
- 8,080
- 10
- 68
- 114
0
votes
1 answer
How to prevent memory increase on Image Compression
I am trying to do Capture Image, compress to a file & upload it to my server. But, when I am doing that, my memory size suddenly increases by 60 MB.
I am doing the following approach to get compress image file path. During this process only,memory…

Bharath
- 3,001
- 6
- 32
- 65
0
votes
1 answer
Compressing any image format using Fractal compression
I am a novice in Image compression or for that matter image processing. I am trying to learn fractal image compression from a famous book by Yuval Fsiher. At the end of the book he has given the entire compression-decompression code in C. I mostly…

MuneshSingh
- 162
- 1
- 10
0
votes
2 answers
ushort array compression in C#
I've got a ushort array (actually an image coming from a camera) that I'd like to lossless compress before persistent storage. I'm using the GZipStream function provided in System.IO.Compression.GZipStream. This approach, to my knowledge, requires…

Bryan Greenway
- 703
- 11
- 30
0
votes
1 answer
Can you integrate a built-in image compressor for a Wordpress theme?
I currently am customizing a Wordpress theme called Classifier (http://colorlabsproject.com/themes/classifier/), built by Colorlabs & Company. I'm running into a pretty big issue and that is the size of users uploaded images.
Our website receives…

Matthew
- 21