PHPackages                             simonbowen/pngify - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. simonbowen/pngify

ActiveLibrary

simonbowen/pngify
=================

Convert different files into a PNG

08PHP

Since Mar 9Pushed 10y ago1 watchersCompare

[ Source](https://github.com/simonbowen/PNGify)[ Packagist](https://packagist.org/packages/simonbowen/pngify)[ RSS](/packages/simonbowen-pngify/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

PNGify
======

[](#pngify)

A tool to convert most file formats to a PNG. This tool was written as I had a requirement to allow users to upload a multitude of file types and for this process to generate a thumbail from the user uploaded file where possible.

Usage
-----

[](#usage)

Console
-------

[](#console)

This can be used on the command line with

> php console.php pngify:convert &lt;file&gt; \[&lt;output&gt;\]

> php console.php pngify:convert ~/Desktop/awesome\_design.psd ~/Desktop/awesome\_design.png

Set up
------

[](#set-up)

Ensure you have LibreOffice installed.

Copy ./config.php.example to ./config.php. Update the binary path to SOffice.

On OSX the binary path is

> /Applications/LibreOffice.app/Contents/MacOS/soffice

You can fire up a HTTP server for demonstration

> php -S &lt;host&gt;:&lt;port&gt;

> php -S localhost:8000

and go to http://localhost:8000

TODO
----

[](#todo)

Finish It.

- Validation on the HTTP request to ensure that we can handle the POST'd file
- Write some more tests
- Allow user to specify a file already on the server via HTTP, maybe with a $\_GET var
- Rudimentary thumbnailing of the generated files

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/a67ebae1bd90937c8616642cdaea90d9ddd0c45e7abfab3528c6b264bc60301a?d=identicon)[simonbowen](/maintainers/simonbowen)

---

Top Contributors

[![simonbowen](https://avatars.githubusercontent.com/u/8931?v=4)](https://github.com/simonbowen "simonbowen (20 commits)")

### Embed Badge

![Health badge](/badges/simonbowen-pngify/health.svg)

```
[![Health](https://phpackages.com/badges/simonbowen-pngify/health.svg)](https://phpackages.com/packages/simonbowen-pngify)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
