{"id":15090174,"url":"https://github.com/lunatic-fox/eps2img","last_synced_at":"2025-04-11T22:21:26.943Z","repository":{"id":63235513,"uuid":"565647478","full_name":"lunatic-fox/eps2img","owner":"lunatic-fox","description":"An action to convert .eps (Encapsulated PostScript) files to image and vector formats.","archived":false,"fork":false,"pushed_at":"2022-12-02T06:14:14.000Z","size":39,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-03T04:03:30.548Z","etag":null,"topics":["bmp","converter","eps","github-action","github-actions","jpeg","pdf","png","ps","svg","tiff"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/eps-2-image","language":"Shell","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/lunatic-fox.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"lunatic-fox"}},"created_at":"2022-11-14T02:29:53.000Z","updated_at":"2024-06-19T05:22:40.000Z","dependencies_parsed_at":"2023-01-11T17:23:57.442Z","dependency_job_id":null,"html_url":"https://github.com/lunatic-fox/eps2img","commit_stats":{"total_commits":20,"total_committers":2,"mean_commits":10.0,"dds":0.4,"last_synced_commit":"66842e7caa687f6c4bb4d9f7688ce07bb15489e4"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lunatic-fox%2Feps2img","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lunatic-fox%2Feps2img/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lunatic-fox%2Feps2img/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lunatic-fox%2Feps2img/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lunatic-fox","download_url":"https://codeload.github.com/lunatic-fox/eps2img/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248487666,"owners_count":21112191,"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":["bmp","converter","eps","github-action","github-actions","jpeg","pdf","png","ps","svg","tiff"],"created_at":"2024-09-25T09:22:59.243Z","updated_at":"2025-04-11T22:21:26.920Z","avatar_url":"https://github.com/lunatic-fox.png","language":"Shell","funding_links":["https://github.com/sponsors/lunatic-fox"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n  ![EPS 2 Image](./.github/workflows/logo.png)\n\n  ### *An action to convert `.eps` (Encapsulated PostScript) files to image and vector formats.*\n\n\u003c/div\u003e\n\n***Supported output formats***\n- **Image formats (*raster*)**\n  - `.png` ***\\* default***\n  - `.bmp`\n  - `.tiff`\n  - `.jpeg`\n\n- **Vector formats**\n  - `.svg`\n  - `.ps`\n  - `.pdf`\n\n## Usage\n### Inputs\n```yaml\ninput:\n  description: Input path of the EPS file.\n  required: true\noutput:\n  description: Output path of the image file.\n  required: false\nformat:\n  description: Format of the image file.\n  required: false\n  default: png\n```\n\n### Outputs\n\u0026emsp;Images exist only within workflow, so you will need another action to commit or upload the created images.\\\n\u0026emsp;Here are some suggestions of 3rd party actions:\n\n#### *To auto commit*\n- [**Git Auto Commit**](https://github.com/marketplace/actions/git-auto-commit)\n\n#### *To upload image*\n- [**Publish on imgur**](https://github.com/marketplace/actions/publish-on-imgur)\n\n---\n### Available options\n```yaml\n- uses: lunatic-fox/eps2img@v1\n  with:\n    # Required. Full relative path to EPS file.\n    input: ./pathToEPS/file.eps\n\n    # Optional. Path to the output file.\n    # Patterns: \"\" | \"./\" | \"./dirname/\" | \"./filename\" | \"./filename.xyz\"\n    output: ./pathTo/outputFilename\n\n    # Optional. Format of the output file.\n    # Options: \"png\" | \"bmp\" | \"tiff\" | \"jpeg\" | \"svg\" | \"ps\" | \"pdf\"\n    format: png\n```\n---\n\n#### `input`\n\u0026emsp;This input parameter is required and is the full relative path to your `.eps` file.\n\n***Example***\n```yaml\ninput: ./folder/myFile.eps\n```\n---\n#### `output`\n\u0026emsp;This input parameter is optional and can be used as shown in the patterns below.\n\n***Example: If `output` does not exist***\\\n\u0026emsp;Creates the output file in the same path and with the same filename of the `.eps` file.\n```yaml\ninput: ./folder/myFile.eps\n# creates -\u003e output: ./folder/myFile.png \n```\n\n***Example: Is a complete path***\\\n\u0026emsp;Creates the output file in the described path.\n```yaml\ninput: ./folder/myFile.eps\noutput: ./myConvertedFile.png \n```\n\n***Example: Is an incomplete path***\\\n\u0026emsp;Creates the output file in the same path until the last `/` and uses the end of path as the filename.\n```yaml\ninput: ./folder/myFile.eps\noutput: ./screenshot/myPicture\n# creates -\u003e output: ./screenshot/myPicture.png \n```\n\n***Example: Is an endpoint***\\\n\u0026emsp;Creates the output file in the described path and names the file with the same filename of the `.eps` file.\n```yaml\ninput: ./folder/myFile.eps\noutput: ./screenshot/\n# creates -\u003e output: ./screenshot/myFile.png \n```\n---\n#### `format`\n\u0026emsp;This input parameter is optional and `output` have priority over it.\n\n***Example: If `output` is a complete path***\\\n\u0026emsp;Creates the output file in the described path. `format` will be ignored.\n```yaml\ninput: ./folder/myFile.eps\noutput: ./myConvertedFile.png\nformat: tiff\n```\n\n***Example: If `output` is an incomplete path***\\\n\u0026emsp;Creates the output file in the same path until the last `/`, uses the end of path as the filename and convert the `.eps` file to defined `format`.\n```yaml\ninput: ./folder/myFile.eps\noutput: ./screenshot/myPicture\nformat: jpeg\n# creates -\u003e output: ./screenshot/myPicture.jpeg\n```\n\n***Example: If `output` is an endpoint***\\\n\u0026emsp;Creates the output file in the described path, names the file with the same name of the `.eps` file and convert the `.eps` file to defined `format`.\n```yaml\ninput: ./folder/myFile.eps\noutput: ./screenshot/\nformat: bmp\n# creates -\u003e output: ./screenshot/myFile.bmp \n```\n\n***Example: If `output` does not exist***\\\n\u0026emsp;Creates the output file in the same path, with the same filename of the `.eps` file and convert the file to defined `format`.\n```yaml\ninput: ./folder/myFile.eps\nformat: pdf\n# creates -\u003e output: ./folder/myFile.pdf\n```\n\n\u003cdiv align=\"center\"\u003e\n\n  ### [Workflow example](./.github/workflows/demo.yml)\n\n  Made with ❤\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flunatic-fox%2Feps2img","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flunatic-fox%2Feps2img","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flunatic-fox%2Feps2img/lists"}