{"id":19623844,"url":"https://github.com/appleple/acms-tiny-png","last_synced_at":"2026-05-11T12:35:42.222Z","repository":{"id":41755551,"uuid":"223097658","full_name":"appleple/acms-tiny-png","owner":"appleple","description":null,"archived":false,"fork":false,"pushed_at":"2022-04-29T02:37:45.000Z","size":232,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-01-09T11:55:41.604Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/appleple.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-21T05:45:58.000Z","updated_at":"2021-09-19T03:02:01.000Z","dependencies_parsed_at":"2022-08-11T15:32:08.875Z","dependency_job_id":null,"html_url":"https://github.com/appleple/acms-tiny-png","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleple%2Facms-tiny-png","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleple%2Facms-tiny-png/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleple%2Facms-tiny-png/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleple%2Facms-tiny-png/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/appleple","download_url":"https://codeload.github.com/appleple/acms-tiny-png/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240921536,"owners_count":19878949,"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":[],"created_at":"2024-11-11T11:35:49.879Z","updated_at":"2026-05-11T12:35:42.173Z","avatar_url":"https://github.com/appleple.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TinyPNG for a-blog cms\n\n## ダウンロード\n\n[https://github.com/appleple/acms-tiny-png/raw/master/build/TinyPNG.zip](https://github.com/appleple/acms-tiny-png/raw/master/build/TinyPNG.zip)\n\n\n## 実現できること\n\nTinyPNGのAPIを利用して、画像のロスレス圧縮を実現できます。Hook機能を使って画像生成時に、すべてロスレス圧縮します。\n\nまた校正オプションを用意していて、ロスレス圧縮された状態で画像のリサイズをすることができます。\n\n## 設定方法\n\n[https://tinypng.com/](https://tinypng.com/) でアカウントを作成し、**API Key** を発行ください。発行した API Key を **private/config.system.yaml** に追記します。\n\n```\ntiny_png_api_key: xxxxxxxxxxxxxxxxxxxxxxxxxxx\n```\n\n## 校正オプション\n\n```\nresizeTinyPng(type, width, height)\n```\n\n### type の種類\n\n- scale\n- fit\n- cover\n- thumb \n\n\n```html\n\u003cimg src=\"{path}[resizeTinyPng('scale', 600)]\"\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappleple%2Facms-tiny-png","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappleple%2Facms-tiny-png","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappleple%2Facms-tiny-png/lists"}