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
2 answers
how to encode Image containing single row using jpeg
While I was reading jpeg spec, I came to know while encoding jpeg, image is first broken into 8x8 blocks then DCT and other things happen.
So I am curious to know how would an image (raw file) containing a single row get encoded using jpeg?
would…

Manish Gautam
- 69
- 7
0
votes
1 answer
Why do Adobe Signatures increase the file size so much?
Adobe Acrobat's "Signature" function makes absolutely no sense to me.
Whether I add a signature as a monotone black-and-white 30 KB GIF with 1/4 the pixels or a 300 KB gray-scale PNG, the PDF's size still increases over 300KB while maintaining the…

user8517093
- 13
- 1
0
votes
1 answer
how can to calculate jpeg2000 file header size in matlab?
I want to know size of header in an image in jpeg2000 format. how can I find out this header?
I want to calculate pure size of image.jp2 in hard disk without the size of header.
I use iminfo to find some information in matlab about image, but I…

reihan
- 23
- 6
0
votes
2 answers
I have matlab code for run length encoding and I want to make code for decoding
I have Matlab code for run length encoding and I want to make code for decoding. Please can anyone help me in making the decoder for this code?
The encoder is as the following:
function out = rle (image)
%
% RLE(IMAGE) produces a vector containing…

advise20023
- 11
- 2
0
votes
1 answer
Can a JPEG2000 file have multiple fragment list box?
According to specification, The Fragment List box specifies the location, length and order of each of the fragments that, once combined, form a valid
and complete data stream.
I want to know can single JPEG2000 file have multiple fragment list box?

Manish Gautam
- 69
- 7
0
votes
2 answers
tinypng error while trying to compress image
I'm trying to compress image after upload it in my server and everything going as expected but when I upload my changes from local machine to online server that gives me this error
Call to undefined function Tinify\curl_version()
so my source…

mousa.Alshaikh
- 23
- 1
- 8
0
votes
2 answers
Using curl to post request handle JSON data
I recently work with kraken.io API and I'm trying to integrate this API wuth my PHP CodeIgniter framework. So I followed the documentation but I got stuck when I used curl
This is my source code below ..…

mousa.Alshaikh
- 23
- 1
- 8
0
votes
0 answers
How to apply orthogonal polynomial transformation on an image for image compression?
I am working on Image compression based on orthogonal polynomial transformation. My input image is gray scale image of size 256*256. i divide this image into 4 by 4 blocks. and than apply the orthogonal polynomial operator on each block. but I am…

Nadeem ahmad
- 11
- 4
0
votes
1 answer
can't install grunt-contrib-imagemin using git bash
when i'm typing this line in the git bash
npm install grunt-contrib-imagemin --save-dev
i get this errors
npm WARN saveError ENOENT: no such file or directory, open'C:\Users\hussa\package.json'
C:\Users\hussa
`-- grunt-contrib-imagemin@1.0.1
npm…

hussam mostafa
- 27
- 1
- 5
0
votes
1 answer
Compressing bitmap returns always the same byte size
I'm trying to compress a bitmap with JPG compression function.
This is my piece of code:
ByteArrayOutputStream out = new ByteArrayOutputStream();
originalBitmap.compress(Bitmap.CompressFormat.JPEG, 80, out);
byte[] newArray = out.toByteArray();
…

Blasco73
- 2,980
- 2
- 24
- 30
0
votes
1 answer
Reducing an image size for compact framework
I'm looking for a method that allows me to reduce the size (in byte) of an image that I've captured from the screen than send to another pc like a remote desktop (that is actually my project purpose, btw this part is already done, I've some trouble…

Ivan Cassano
- 31
- 2
- 11
0
votes
0 answers
How to Stage Files for Compression
I am extremely interested in writing a data compression library of my own. All my Google searches turn up results where people are saying "Just use the included Java libraries." That is not what I am looking for.
For instance, I have written a…

Matt Jumper
- 1
- 1
0
votes
1 answer
speed up image creation / writing to byte array (SWT)
I use SWT to compress a RAW Bitmap Image to JPEG. I'm writing the image to a BufferedOutputStream to send the bytes over a socket. The problem is, that the compression takes a lot of time (arround 150 ms). Has anyone any suggestions to speed up the…

christian
- 391
- 2
- 10
0
votes
1 answer
Codeigniter image compression not working
I want to upload large images on my website. I want to reduce the size of those using codeigniter. So I am doing this code
function upload_image($data) {
$config['upload_path'] = './temp/';
$config['allowed_types'] = 'gif|jpg|png';
…

Ali Zia
- 3,825
- 5
- 29
- 77
0
votes
1 answer
UIimagejpegrepresentation compression quality vs other algorithms
We’ve been asked to consider how Instagram structures their image upload on iOS. Instagram compresses to a max 1080 x1350 and I've tried to achieve their image quality with those parameters using
UIimagejpegrepresentation
Does anyone know if…

HarveyDent
- 1
- 1