{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/lossless-image-compression-through-super","title":"Lossless Image Compression through Super-Resolution","arxiv_id":"2004.02872","date":"2020-04-06","proceeding":null,"authors":["Sheng Cao","Chao-yuan Wu","Philipp Krähenbühl"],"abstract":"We introduce a simple and efficient lossless image compression algorithm. We store a low resolution version of an image as raw pixels, followed by several iterations of lossless super-resolution. For lossless super-resolution, we predict the probability of a high-resolution image, conditioned on the low-resolution input, and use entropy coding to compress this super-resolution operator. Super-Resolution based Compression (SReC) is able to achieve state-of-the-art compression rates with practical runtimes on large datasets. Code is available online at https://github.com/caoscott/SReC.","url_abs":"https://arxiv.org/abs/2004.02872v1","url_pdf":"https://arxiv.org/pdf/2004.02872v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"lossless-image-compression-through-super","repo_url":"https://github.com/caoscott/SReC","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"image-compression","task_name":"Image Compression"},{"task_slug":"super-resolution","task_name":"Super-Resolution"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2004.02872","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2004.02872"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/caoscott/SReC","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":13},"by_repo_kind":{"official":{"samples":13,"ran":0,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"a5c3730167f10ccf","entry":"conv","repo":"caoscott/SReC","repo_kind":"official","path":"src/util.py","file_url":"https://github.com/caoscott/SReC/blob/HEAD/src/util.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a5c3730167f10ccf"}},{"code_sha256_prefix":"a0ae0054109d28e5","entry":"get_act","repo":"caoscott/SReC","repo_kind":"official","path":"src/l3c/edsr.py","file_url":"https://github.com/caoscott/SReC/blob/HEAD/src/l3c/edsr.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a0ae0054109d28e5"}},{"code_sha256_prefix":"e744ee8b72fddc1b","entry":"group_2x2","repo":"caoscott/SReC","repo_kind":"official","path":"src/network.py","file_url":"https://github.com/caoscott/SReC/blob/HEAD/src/network.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e744ee8b72fddc1b"}},{"code_sha256_prefix":"b0ad060ae6be4bec","entry":"non_shared_get_K","repo":"caoscott/SReC","repo_kind":"official","path":"src/l3c/logistic_mixture.py","file_url":"https://github.com/caoscott/SReC/blob/HEAD/src/l3c/logistic_mixture.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b0ad060ae6be4bec"}},{"code_sha256_prefix":"a91e328c76768f2b","entry":"non_shared_get_Kp","repo":"caoscott/SReC","repo_kind":"official","path":"src/l3c/logistic_mixture.py","file_url":"https://github.com/caoscott/SReC/blob/HEAD/src/l3c/logistic_mixture.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a91e328c76768f2b"}},{"code_sha256_prefix":"0782419ae2c49237","entry":"pad","repo":"caoscott/SReC","repo_kind":"official","path":"src/data.py","file_url":"https://github.com/caoscott/SReC/blob/HEAD/src/data.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0782419ae2c49237"}},{"code_sha256_prefix":"166b9851b6ca8f5e","entry":"pad_to_even","repo":"caoscott/SReC","repo_kind":"official","path":"src/data.py","file_url":"https://github.com/caoscott/SReC/blob/HEAD/src/data.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"166b9851b6ca8f5e"}},{"code_sha256_prefix":"26fa98f694c45df7","entry":"read_shapes","repo":"caoscott/SReC","repo_kind":"official","path":"src/l3c/bitcoding.py","file_url":"https://github.com/caoscott/SReC/blob/HEAD/src/l3c/bitcoding.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"26fa98f694c45df7"}},{"code_sha256_prefix":"b7db16261c401cbf","entry":"tensor_round","repo":"caoscott/SReC","repo_kind":"official","path":"src/util.py","file_url":"https://github.com/caoscott/SReC/blob/HEAD/src/util.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b7db16261c401cbf"}},{"code_sha256_prefix":"f7a7aa921c438111","entry":"to_bn","repo":"caoscott/SReC","repo_kind":"official","path":"src/l3c/quantizer.py","file_url":"https://github.com/caoscott/SReC/blob/HEAD/src/l3c/quantizer.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f7a7aa921c438111"}},{"code_sha256_prefix":"e5b9eaa44805a28d","entry":"to_sym","repo":"caoscott/SReC","repo_kind":"official","path":"src/l3c/quantizer.py","file_url":"https://github.com/caoscott/SReC/blob/HEAD/src/l3c/quantizer.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e5b9eaa44805a28d"}},{"code_sha256_prefix":"3371b522b9428b08","entry":"write_num_bytes_encoded","repo":"caoscott/SReC","repo_kind":"official","path":"src/l3c/bitcoding.py","file_url":"https://github.com/caoscott/SReC/blob/HEAD/src/l3c/bitcoding.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3371b522b9428b08"}},{"code_sha256_prefix":"d1f94f33f926f956","entry":"write_shape","repo":"caoscott/SReC","repo_kind":"official","path":"src/l3c/bitcoding.py","file_url":"https://github.com/caoscott/SReC/blob/HEAD/src/l3c/bitcoding.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d1f94f33f926f956"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}