Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [compression]

The tag has no usage guidance.

1
vote
1answer
57 views

Compression of user-drawn “whiteboard” image

I need to store user-drawn images from an online whiteboard. The amount of data gets huge quickly which is obviously not good. What I need is to store something drawn through a tablet for example in ...
1
vote
1answer
41 views

Is there a general way how to specify the “image compression loss”?

For JPG, i can choose the "quality" from 100 to 0, which means that any pixel information is divided by 1 (quality = 100) or a very high number (quality = 0). This results in less or more "artifacts", ...
3
votes
1answer
79 views

If I have more than enough memory, can it still be beneficial to use compressed textures?

I'm wondering whether some of you would have tested and seen quite a difference in using a compressed texture even when the OpenGL environment does not need saving any memory (i.e. the card has more ...
1
vote
1answer
27 views

compression of gif animation

I have a parchment animation at singingdays.co.uk that is a rather large file of about 80mb which obviously is taking a long time to download. I have managed to compress it down to about 60mb using ...
1
vote
1answer
245 views

How does notch's new graphics engine work?

@notch has recently been posting on an engine he is developing. He claims that it is voxel-based and supports deformable terrain, with a render distance of almost 1000 000 voxels and real-time ...
3
votes
0answers
133 views

Is Nvidia's delta color compression supported in CUDA, or with DirectX UAVs?

Nvidia discusses their lossless delta color compression is on its fourth generation in Pascal, and that it transparently saves bandwidth behind the scenes for rendering workloads. AMD has a similar ...
1
vote
2answers
116 views

Loading compressed image to GPU and reading back decompressed on CPU

I have some images that I know will be stored with either PVR or ETC compression. I would like to be able to convert these images into uncompressed RGB. However, because of binary size constraints, I ...
1
vote
0answers
76 views

What causes this color shift?

Below are the original image and a JPEG encoded/decoded image. To my untrained eyes, cyan becomes yellow, yellow becomes magenta, and magenta becomes cyan. Obviously there's a problem with the ...
3
votes
0answers
45 views

Algorithm for shared complex edge simplification

I have been looking for an algorithm that evaluates a shared complex edge between two objects to determine which of the two is 'facing inwards', which can then be simplified by converting the edge in ...
1
vote
1answer
56 views

Compression-friendly PNG files

How to create PNG files optimized for being compression-friendly? I.e. would it help if image is created (mostly) from 8x8 unicolor blocks?
4
votes
0answers
29 views

Constructing base mesh for required subdivision surface

Given a triangle mesh, does there exist any algorithm to compute a base mesh (smaller in size than the triangle mesh) that could be subdivided multiple times to get back the original mesh (or an ...
12
votes
2answers
2k views

How does hardware texture compression work?

That it compresses the data compared to the pixel array is obvious. But what makes it different from from normal compression (like png, jpeg)?
10
votes
2answers
488 views

Should JPEG encoding take into account gamma?

When an image is encoded using JPEG, the RGB pixels are first encoded into YUV, and then the UV channels are downsampled. Before actually doing the DCT and encoding the coefficients, JPEG doesn't ...
8
votes
1answer
664 views

Writing to a compressed texture using a compute shader, with no extra copies

I'm trying to figure out what the best way is to generate an OpenGL texture using a compute shader. So far, I've read that pixel buffer objects are good for non-blocking CPU -> GPU transfers, and that ...
10
votes
1answer
149 views

When creating a JPEG, how can I minimize the occurence of artifacts?

There are 2 main factors that seem to lead to digital artifacts when creating JPEG images: Aliasing and Compression. Example: Converting a PNG with characters on it to a JPEG or placing vector ...