Method and apparatus for controlling a compression rate for a file
Abstract
Provided are a method and apparatus for determining a target compression rate for a file, which may be calculated using a predetermined algorithm based on a target file size. There is provided a method for compressing a file, the method including using a processor to perform at least the steps of compressing a target file at an initial compression rate and determining a size of the compressed target file; comparing the size of the target file compressed at the initial compression rate to sizes of a first file and a second file compressed at the initial compression rate; based on the comparisons and a target size for the target file, calculating a target compression rate; and compressing the target file using the target compression rate.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of determining a target compression rate for a file, the method comprising using a processor to perform at least the steps of: determining a plurality of sizes of a first file correlating to a plurality of compression rates, including a first size of the first file correlating to an initial compression rate; determining a plurality of sizes of a second file correlating to the plurality of compression rates, including a first size of the second file correlating to the initial compression rate; compressing a third file using the initial compression rate and determining an initial size o
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗