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
1 answer
How to compress a jpg image in WinRT/XAML?
I need to compress large jpegs for display in (Bing) map markers.
I thought a found a way to do it here, but both Bitmap and Size are unrecognized in my WinRT/XAML (Windows Store) app.
Can the code by sikender be tweaked, or is this a "whole 'nuther…

B. Clay Shannon-B. Crow Raven
- 8,547
- 144
- 472
- 862
0
votes
1 answer
Out of Memory using bsxfun MATLAB
I try to implement image compression using Burrows-Wheeler transform. Consider an 1D matrix from path scanning is:
p = [2 5 4 2 3 1 5];
and then apply the Burrows-Wheeler transform :
function output = bwtenc(p)
n = numel(p);
x =…

yudha25
- 51
- 7
0
votes
1 answer
JPEG compression implementation in MATLAB
I'm working on an implementation of the JPEG compression algorithm in MATLAB. I've run into some issues when computing the discrete cosine transform(DCT) of the 8x8 image blocks(T = H * F * H_transposed, H is the matrix containing the DCT…

Sebi
- 4,262
- 13
- 60
- 116
0
votes
0 answers
Android : Image and Audio Optimization/Compression/Minification
I am developing an android application that consists of a collection of images as well as audio files.
What is the appropriate file format I should you (for the image and the audio files) which will not make the size of the application huge?

biniam
- 8,099
- 9
- 49
- 58
0
votes
1 answer
Quality reduction is not working in files api
i write a small snippet for optimizing large images.i write a code
var f = evt.target.files[0];
var r = new FileReader();
r.onloadend = function (e) {
var img = new Image();
console.log('coming here also');
var contents =…

mathlearner
- 7,509
- 31
- 126
- 189
0
votes
2 answers
Maximum possible image compression using setCompressionQuality
Before I start, No, this is not a possible duplicate question to Theoretical Limit to Compression. I just need to find a way to compress an image a few hundred bytes more than it is, using JAVA.
I've been trying to compress a 5kB image . The maximum…

deathstroke
- 526
- 12
- 33
0
votes
1 answer
How do I return a byte array from the db as a compressed jpeg/png?
Here's my situation:
I have a console application that creates screenshots of webpages in a bitmap format and then saves it to a database as a byte array.
Then I have a Generic Handler that basically gets the byte array and then returns the image…

Some Developer
- 229
- 6
- 19
0
votes
0 answers
Maximum possible photo compression
In a very resource constrained environment, I want to include images and photos. Space is very constrained and directly determines the maximum number of images I can support. So, I'd like to compress the images as much as possible. I'm willing to…

SRobertJames
- 8,210
- 14
- 60
- 107
0
votes
0 answers
Compression method effectiveness varies hugely
I decided I'd attempt an image compression (From pixel RGBs) idea I had for a bit of extra credit in class. I've finished, but I find the levels of compression I get varies HUGELY from image to image. With this image, I'm getting a file size 1.25x…

Nathan
- 1,287
- 6
- 15
- 32
0
votes
1 answer
Mac Automator Image Conversion
I'm taking screenshots of images (with white background) and they are appearing on the desktop as .png files, I then use a Automator script to convert them to .jpg images, but some of the images are actually growing in file size when I do it.
The…

Criizly
- 41
- 2
- 10
0
votes
2 answers
FITS creating compressed image data
I'm trying to write data in FITS format using compression. Here's what I tried:
#include
#include "fitsio.h"
#define DIM 100
int main(int argc, char *argv[]) {
fitsfile *fptr; /* pointer to the FITS file, defined in fitsio.h */
…

bibi
- 3,671
- 5
- 34
- 50
0
votes
0 answers
Best Colour space to use when compressing an image
I have a C# desktop application.
I constantly get jpeg images of the same size and resolution.
Before I upload to my web server I compress the image by reducting the quality.
This is the code the reduces the quality:
public byte[]…

Andrew Simpson
- 6,883
- 11
- 79
- 179
0
votes
1 answer
Java Image compression
From our application we fetch images (jpeg/png) from a third party service, after download we want to save these images as compressed.
Can any one please guide how to compress images in Java ?

ali muhammad
- 13
- 1
- 1
- 4
0
votes
3 answers
Is it possible to compress only a section of an image?
I am wondering if there is any way to compress a specific sections of an image and preserve other sections. For example I want the background of a large image compressed but the title and description text laid over the background to be crisp.

mikec
- 63
- 1
- 8
0
votes
1 answer
Display TIFF_JPEG Compression image on a picture box in C#
Is it possible to display a Tiff image with TIFF_JPEG compression on a picture box using Windows forms?
I have used LibTiff.Net to change compression but this increase the size of the image a lot .. since i need the tiff image loaded using…

chuyito_18
- 33
- 4