What is Compression: Definition and 632 Discussions

Lossless compression is a class of data compression algorithms that allows the original data to be perfectly reconstructed from the compressed data. By contrast, lossy compression permits reconstruction only of an approximation of the original data, though usually with greatly improved compression rates (and therefore reduced media sizes).
By operation of the pigeonhole principle, no lossless compression algorithm can efficiently compress all possible data. For this reason, many different algorithms exist that are designed either with a specific type of input data in mind or with specific assumptions about what kinds of redundancy the uncompressed data are likely to contain.
Lossless data compression is used in many applications. For example, it is used in the ZIP file format and in the GNU tool gzip. It is also often used as a component within lossy data compression technologies (e.g. lossless mid/side joint stereo preprocessing by MP3 encoders and other lossy audio encoders).
Lossless compression is used in cases where it is important that the original and the decompressed data be identical, or where deviations from the original data would be unfavourable. Typical examples are executable programs, text documents, and source code. Some image file formats, like PNG or GIF, use only lossless compression, while others like TIFF and MNG may use either lossless or lossy methods. Lossless audio formats are most often used for archiving or production purposes, while smaller lossy audio files are typically used on portable players and in other cases where storage space is limited or exact replication of the audio is unnecessary.

View More On Wikipedia.org
  1. I

    Max Compression of Spring with Friction

    A child slides a block of mass 2 kg along a slick kitchen floor. If the initial speed is 4m/s and the block hits a spring with spring constant 6 N/m, what is the maximum compression of the spring? What is the result if the block slides across 2m of a rough floor that ha μk = 0.2? (second...
  2. B

    Maximum compression of Spring Blocks System

    Block 1 has a mass of 2kg and is moving to the right on a frictionless surface at 10m/s. Block 2 is ahead of Block 1, has a mass of 5 kg, and is moving to the right at 3m/s. Block 2 also has a spring attached to its left end, which has a spring constant of 1120 N/m. When the blocks collide...
  3. C

    Compression and bending on a cross section,how to make sure its static

    The problem is the following, i have a rectangle as a cross section of steel, which is bended and compressed.. i want to use the equilibrium equations to make sure its static, but since the compressive force and the traction force aren't equal, the equilibrium equations make no sense here's a...
  4. marellasunny

    Mass of burned gas and unburned gas during compression stroke

    During the compression stroke,before combustion, it seems that the mass of the burned gas and unburned gas are equal.(-so my book ICEngines by Heywood states). Why is this? By unburned gas here, one means the nascent injected fuel-air mixture during the intake stroke. By burned gas here, one...
  5. G

    Enthelpy under uniaxial compression of solid

    Hello, I have found several references (I can send you the links if you want) that point to the fact that the enthalpy under uniaxial compression along z of a solid is simply given by: H=U+PzV This appears to make sense as during uniaxial compression the Pz pressure component is the...
  6. V

    Increase in Internal Energy of a gas during compression

    Homework Statement Consider a pump that is required to compress air in a factory. The cylinder in the pump has an inner diameter of 2.00 cm and length 60.0 cm. Air is drawn into the pump at atmospheric pressure and 18°C and the pump adiabatically compresses the air to a pressure of 17...
  7. T

    How Far Can a Piston Fall Down a 100-Foot Cylinder?

    Homework Statement How far will a piston fall down a vertical cylinder 100 feet in length? If the cylinder is 10" in diameter, the piston is 100lbs, the cylinder has a bottom and is capable of fluid isolation, filled with ambient air at 80 degrees F, at sea level, the cylinder has friction free...
  8. P

    Calculating Strain in Wood Compression for Plotting Stress

    How can I calculated the wood strain in compression to plot it with stress, if the data that I have is the length and several extension data. The extension data corresponds since the 0 load to the the failure. Thanks. Since the equation for Strain is: ΔLength/Initial Length In order to...
  9. K

    Entropy change during wet compression

    I have a quick question. Consider the process S2 to S1 in the figure below Since this represents wet (isentropic) compression, mathematically we have ΔS=0 (assuming adiabatic compression). But if we consider the process in a physical way, we are going from a region of less disorder...
  10. G

    Bending energy for a rod/column under compression?

    Hi, I would like to calculate a bending energy of a circular rod. It should be elastic bending. The rod/circular column should be loaded with some point load force at it's top. Any amount could be used, for example F=1,10,100 kN... I know how to calculate a strain energy of a rod loaded...
  11. S

    Finding the Compression of a Spring Using the Work-Energy Theorem

    Homework Statement A 6.0kg box moving at 3.0m/s on a horizontal, frictionless surface runs into a light spring of force constant 75 N/cm. Use the work-energy theorem to find the maximum compression in the spring. Homework Equations W = K2 - K1 W = (1/2)*m*v^2 - (1/2)*m*vo^2 W = -...
  12. E

    Adiabatic Compression: Pressure & Temperature Change

    I am thinking about the adibatic compression when the gas gets back to Th from Tc... My question is how the p and V gets same as the initial pressure and temperature... Can you prove it?
  13. F

    Compression Distance Calc of Spring: F=-kx-bx^3

    Homework Statement F= -kx-bx^3 of the spring A pendulum bob of mass m is raised to a point h and released.After hitting the non-linear spring, calculate the compression distance of the spring as function of k , b , m , g , and h . Picture...
  14. A

    An algorithm for data compression?

    An algorithm for data compression? I am coming from a philosophy and science background and I'm particularly interested in finding out what a generalised data compression algorithm would look like. (By algorithm I mean something like a flowchart that would show how this process could be...
  15. B

    Can Fine Iron Powder Be Compressed into a Solid Puck Without Heat or Binders?

    I was just curious if it would be possible to compress fine iron powder into a solid puck without applying any heat or binding chemicals, etc. I'm guessing it would take several tonnes of force? Particle size of powder: about 30 microns
  16. Sneakatone

    Find work from additional spring compression

    The spring used has a spring constant of k= 35000 N/m. a) how much work must you do to compress this spring by 0.10 m from its relaxed condition. U=1/2*k*x^2 .5*35000*(0.1)^2=175 J (correct) b)how much work must you do to compress the spring an additional 0.10 m? I tried the same equation...
  17. I

    Thermodynamics help please. Compression, heat, cool, decompression

    Hello everyone. New guy, first post. I typically frequent gasoline engine performance forums, but my inquisitive nature has led me beyond the scope of general knowledge available within that format. I appreciate any help in figuring out the following. Thank you in advance! If 100 cubic feet...
  18. M

    Mass dropped onto vertical spring what is the max compression?

    Homework Statement A mass m = 0.5 kg is dropped from a height of 1.5m above the end of an uncompressed vertical spring with k = 500 N/m. What is the maximum compression of the spring? Homework Equations f_sp = -kx W_sp = 1/2 kx^2 W_nc = ΔK + ΔU K = 1/2 mv^2 U = mgh W = Fdcos∅ p =...
  19. T

    Calculating Spring Compression Distance Under Acceleration: Help Needed

    Folks, I am looking to determine how far a compression spring will rebound or decompress as a function of total distance (past its original resting position). Specifically, I'd like to determine this distance under the following conditions: 1) there is an object sitting on...
  20. S

    Isothermal and Adiabatic Compression of a Solid

    Homework Statement A 200g cylinder of metallic copper is compressed isothermally and quasi-statically at 290K in a high-pressure cell. A) Find the change in internal energy of the copper when the pressure is increased from 0 to 12kbar. B) How much heat is exchanged with the surrounding fluid...
  21. matqkks

    MATLAB Learn How to Efficiently Compress Color Images with SVD in Matlab

    Are there any resources which use Matlab to image compress a colour image using SVD? I can only find information where I need to convert to gray scale first.
  22. matqkks

    MATLAB SVD and image compression for Matlab

    Are there any resources which use Matlab to image compress a colour image using SVD? I can only find information where I need to convert to gray scale first.
  23. Q

    An ideal simple gas turbine has a compression ratio of 5. What is its

    Homework Statement An ideal simple gas turbine has a compression ratio of 5. What is its Homework Equations c=r(γ-1/γ) η=1-(1/c) The Attempt at a Solution I'm stuck, I think I need to use the above equations and possibly more. I just don't know how to find a value for the ratio of...
  24. F

    Reversible, Isothermal Compression from P1 to P2. How much heat?

    ∫Homework Statement Compress a body reversibly and isothermally from P1 to P2. How much heat goes in or out?Homework Equations Maxwells four relations, differential forms of the four thermodynamic potentials (Central, Enthalpy, Gibbs, Helmholtz) The Attempt at a Solution My problem is that...
  25. N

    Isothermal Compression of an Ideal Gas in a Frictionless PCD

    A frictionless piston-cylinder compresses 1 mol of nitrogen to a tenth of its original volume isothermally at 300 K. Assume nitrogen is an ideal gas with Cp*=(7/2)R. (a) Show two different approaches to calculate the compression work required. (b) What is the corresponding heat flow? (c) If...
  26. E

    Encryption and/ as file compression

    Im not exactly sure how encryption works, but, I think, it basically just scrables the alphabet, if you will. So somthing like "dusk" would become "ftjo" if red withot the decryption key. (of course, it is more complicated and in binary, but still..) Right? So.. if so, and if encryption keyy...
  27. P

    Question on expansion and Compression of gas?

    Homework Statement If a pressure of gas is suddenly reduced and we let the gas to expand again until it reaches equilibrium. What is final volume, work done and heat in this process? and what would be change in internal energy? Again the pressure is suddenly increased back to initial...
  28. F

    Adiabatic compression of ideal diatomic gas

    Homework Statement An ideal diatomic gas, with rotation but no oscillation, undergoes an adiabatic compression. Its initial pressure and volume are 1.9 atm and 0.30 m3. It's final pressure is 2.9 atm. How much work is done by the gas? P0 = 1.9 atm = 1.93e5 Pa V0 = 0.30 m3 P = 2.9 atm =...
  29. A

    Unintuitive physics - rigid objects and compression waves

    I was watching a video on YouTube called 'How Much Does A Shadow Weigh?' and towards the end, the following question was posed: Suppose you had a button that was one light year away from you and you built a rigid stick one light year long. If you pushed that stick, would the other end of the...
  30. tsuwal

    Understanding Expansion, Compression and Entropy Coefficients

    So, until now I know: (DV/DS)p=(DT/Dp)s=a*T/cp*(rho) (enthalpy) (Dp/DT)v=(DS/DV)t=-a/k (helmoltz) (DS/Dp)t=-(DV/DT)p=-Va (gibbs) a=expansion coefficient k=isothermal compression coefficent cp=heat capacity at constante pressure I want to deduce DT/DV at constant entropy=(DT/DV)s. BUT...
  31. A

    Assisting struts under compression

    I am designing a simple truss structure... consider a member of a truss under a compression of xN. As x increases, the member will tend to want to buckle. eulers strut buckling formula states that the force a member buckles at is inversely proportional to the square of the length of the...
  32. A

    Question on Vapor Compression Cycle.

    For convenience, let's assume the following process to be ideal. Process 1-2 Isenthalpic compression Process 2-3 Condensation Process 3-4 Throttling Process 4-1 Evaporation The refrigerant is dry-saturated at the end of compression. Here's what I don't understand: During process 2-3, if we...
  33. W

    How Are These Members in Compression and Tension

    Homework Statement I'm supposed to find the forces in each member and then determine whether they are in tension or compression. I got the magnitudes right but it seems my directions are wrong according to the book but I am confident that I did the question right. The diagram is part of a...
  34. W

    Maximum spring compression problem

    Homework Statement A 7.0kg box moving at 6.0m/s on a horizontal, frictionless surface runs into a light spring of force constant 50N/cm . What is the maximum compression of the spring? Homework Equations K=1/2mv^2 The Attempt at a Solution K=1/2(7.0)(6)^2 = 126N 126N/(50N/cm)...
  35. G

    Determining Compression of a Spring involving Spring Constants

    Homework Statement A 10g marble is launched horizontally from a spring of K = 20 N/m. If the marble ended up with a launch speed of 40m/sec, how much (in cm) was the spring compressed by?Homework Equations F=kx E=\frac{1}{2}kx^2 The Attempt at a Solution To find how much the spring was...
  36. S

    Buckling: Formula to relate Temperature increase with axial Compression

    hi, does anyone know how to find how much axial pre-compression is required so that buckling will occur after a temperature rise of 50 C°? I know the cross section of the pinned at each end copper strip (4mm x 8mm) length= 100mm E= 100 GN/m^2 Coefficient of thermal expansion is 18 x 10^-6
  37. M

    Adiabatic gas Compression of Piston after Critical Point

    Hello there, Sorry, if there's a thread about this already. Let's say if i have Piston which is fully insulated because as mentioned, it is an adiabatic compression. The pressure will increase as the volume of decrease. But what really happened when the system is compressed over the...
  38. W

    Compression by spring, potential motion

    Question I have, could a compressor that works by say a spring that gets pushed by a electric actuator into a compression chamber,, the actual power it takes to compress the spring only takes say 1 second, the spring then provides compressed air for let's say 5 seconds of powering let's say a...
  39. S

    Comparing Compression strength of chocolates

    Hey there, I am currently working on a project to compare the compression strength of chocolates with different inside filling (caramel, nuts, coconut). I came up with the hypothesis that chocolates filled with nuts would require the most force to break while chocolates with coconut the least...
  40. I

    Circular profile in compression (material mechanics)

    Homework Statement A circular profile with radius r is subjected to opposing compressive forces Fc in the x and y directions as show. If the material has compressive strength sigma_c = 2000MPA, at what compressive force Fc will the profile experience failure? Homework Equations...
  41. W

    Allowable load in short compression member

    My apologies, I don't own a scanner or else I would show the 200 variations of formulas I've played around (my work) with all day to get these answers. Question is this; A short compression member is fabricated from 2 steel pipes. the pipe on the top has a cross sectional area of 3.17 in sq...
  42. K

    Bulk Modulus, Expansion Coeff. and compression of a liquid in a piston

    Homework Statement A liquid is enclosed in a metal container that is provided with a piston of the same metal. The system is originally at a pressure of 1.00 atm (1.013*10^5 Pa) and at a temperature of 30.0 C. The piston is forced down until the pressure on the liquid is increased by 50.0 atm...
  43. S

    Compression power equation of a gas mixture

    Homework Statement I have a mixture of hydrogen (H2) and water (vapor) that is compressed from pressure p1 to p2. Mass flow of the mixture is known, as well as mass fraction of the hydrogen in the mixture. Known data: Pressure p1 Pressure p2 Temperature T mass flow Mf mass fraction...
  44. K

    Automotive High compression turbocharged engines.

    I have seen some builds of naturally aspirated engines, originally using around 10:1 CR, being built up to 13:1+ CR and then having 15psi of boost thrown at them from an aftermarket turbo kit. I can't comprehend how this is possible without the engine melting, what do you need to do to make a...
  45. L

    Spring Compression problem- PLEASE SOMEONE HELP PLEASE DX<?

    Spring Compression problem!- PLEASE SOMEONE HELP! PLEASE! DX<? Spring Compression problem! A 2.4kg block is dropped onto a free-standing spring with k=1100N/m from a height of 1.7m above the spring. What is the spring's maximum compression? Okay, so I drew a picture of the situation. Frame...
  46. C

    Work Required for Adiabatic Compression

    Homework Statement One mole of gas compressed to half of its original volume adiabatically, what is the work done? Homework Equations dE= dW + dQ (the d one the w and q should have the line though it) pV^ α= constant = k The Attempt at a Solution As it is adiabatic dQ = 0...
  47. A

    Ideal Gases under Adiabatic Compression

    I'm having trouble understanding what happens to the internal energy of an ideal gas being compressed adiabatically. If DU = DQ + DW, then as we do work PdV compressing the gas, since in adiabatic processes DQ=0, W the change in internal energy is non-zero, so U must increase. But if...
  48. D

    Irreversible Compression and Expansion

    Say I have a gas enclosed in a bottle with a weight on top exerting pressure P0. Let the gas pressure be P. If P0 is not equal to P the compression/expansion will be irreversible. If P0>P and the gas is being compressed: Work done on the gas is: -PdV Work done on surroundings by the gas...
  49. T

    Air compression via acceleration?

    When we are sitting in our cars, and the car begins accelerating we are "pushed back" due to acceleration. Or if you have a ball in an empty vehicle, when it starts accelerating, the ball will roll to the back of the car. I was wondering, is this also true in air? If there is an...
  50. B

    Compression spring constant k?

    Hi, Does a compression spring’s pitch or rise angle have any relation with its spring constant k? I checked various sources and they differ on this. Some sites simply asks you to feed input into a simple formula: k=Gd4/3D3na in which k: spring constant G: material’s shear modulus d...
Back
Top