{"id":16007504,"url":"https://github.com/xhmikosr/jpegoptim-windows","last_synced_at":"2025-10-25T14:50:32.598Z","repository":{"id":55475774,"uuid":"85489784","full_name":"XhmikosR/jpegoptim-windows","owner":"XhmikosR","description":"Windows 64-bit jpegoptim builds","archived":false,"fork":false,"pushed_at":"2025-03-06T05:59:46.000Z","size":48,"stargazers_count":108,"open_issues_count":3,"forks_count":11,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-03-30T02:04:13.686Z","etag":null,"topics":["64-bit","64bit","binary","compress","jpeg","jpegoptim","jpegoptim-windows","jpg","lossless","lossy","ltcg","mozjpeg","msvc","optimize","windows","x64"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/XhmikosR.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"XhmikosR"}},"created_at":"2017-03-19T16:05:44.000Z","updated_at":"2025-03-06T05:59:49.000Z","dependencies_parsed_at":"2024-01-02T08:01:22.250Z","dependency_job_id":"56b6f7d5-0f9e-48fb-971a-18c4b2ad5ea4","html_url":"https://github.com/XhmikosR/jpegoptim-windows","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XhmikosR%2Fjpegoptim-windows","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XhmikosR%2Fjpegoptim-windows/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XhmikosR%2Fjpegoptim-windows/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XhmikosR%2Fjpegoptim-windows/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/XhmikosR","download_url":"https://codeload.github.com/XhmikosR/jpegoptim-windows/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247427005,"owners_count":20937200,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["64-bit","64bit","binary","compress","jpeg","jpegoptim","jpegoptim-windows","jpg","lossless","lossy","ltcg","mozjpeg","msvc","optimize","windows","x64"],"created_at":"2024-10-08T12:03:47.511Z","updated_at":"2025-10-25T14:50:27.552Z","avatar_url":"https://github.com/XhmikosR.png","language":"C","funding_links":["https://github.com/sponsors/XhmikosR"],"categories":[],"sub_categories":[],"readme":"# jpegoptim for Windows\n\n[![Build Status](https://github.com/XhmikosR/jpegoptim-windows/actions/workflows/ci.yml/badge.svg)](https://github.com/XhmikosR/jpegoptim-windows/actions/workflows/ci.yml?query=branch%3Amain)\n\nThis is just my own project files for easy building of [jpegoptim](https://github.com/tjko/jpegoptim)\nwith [mozjpeg](https://github.com/mozilla/mozjpeg) and Microsoft Visual Studio.\nCurrently only 64-bit (x64) is targeted.\n\n## Notes\n\n* Multithreaded; no need for the MSVC Runtime to be installed separately\n* Built with [LTCG](https://learn.microsoft.com/en-us/cpp/build/reference/ltcg-link-time-code-generation?view=msvc-170)\n* Runs on Windows Vista and newer\n\n## Build Instructions\n\n1. Clone the repository\n\n    ```shell\n    git clone --recursive https://github.com/XhmikosR/jpegoptim-windows.git\n    ```\n\n    Alternatively you can do this:\n\n    ```shell\n    git submodule init\n    git submodule update --recursive\n    ```\n\n2. Download and install [Visual Studio 2022](https://visualstudio.microsoft.com/downloads/) (any edition)\n3. Download [nasm](https://www.nasm.us/) and place `nasm.exe` somewhere into your `PATH`\n4. Open `jpegoptim.sln` and build, or run `build.bat`\n\n## Sample scripts\n\n**WARNING**: The following scripts optimize the images in place! Remember to make a backup before running them.\n\nHere's a sample script that loops through only the first-level subfolders in a folder optimizing all pictures:\n\n```bat\nfor /f \"tokens=*\" %%i in ('dir /a:d /b') do (\n  jpegoptim.exe --preserve --strip-all --totals --verbose \"%%i\\*.jpg\"\n)\n```\n\nHere's another sample script that loops through all subfolders in a folder optimizing all pictures:\n\n```bat\nfor /f \"delims=\" %%i in ('dir /b /s *.jpg') do (\n  jpegoptim.exe --preserve --strip-all --verbose \"%%i\"\n)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxhmikosr%2Fjpegoptim-windows","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxhmikosr%2Fjpegoptim-windows","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxhmikosr%2Fjpegoptim-windows/lists"}