PHPackages                             smertozturk/image\_pixel\_finder - 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. [Image &amp; Media](/categories/media)
4. /
5. smertozturk/image\_pixel\_finder

ActiveLibrary[Image &amp; Media](/categories/media)

smertozturk/image\_pixel\_finder
================================

A tool that gives the color weight at the edges of the image, the most used color tone in the given image, or the color tone in any pixel.

02PHP

Since May 7Pushed 2y ago1 watchersCompare

[ Source](https://github.com/smertozturk/imagePixelFinder)[ Packagist](https://packagist.org/packages/smertozturk/image_pixel_finder)[ RSS](/packages/smertozturk-image-pixel-finder/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Image Pixel Finder
==================

[](#image-pixel-finder)

A tool that gives the color weight at the edges of the image, the most used color tone in the given image, or the color tone in any pixel.

Installation
------------

[](#installation)

You can install the package via Composer:

```
composer require smertozturk/image_pixel_finder
```

Usage
-----

[](#usage)

To use the package, first include the ImagePixelFinder class. Then, you can use the 3 method of the ImagePixelFinder;

```
use smertozturk\imagepixelfinder\ImagePixelFinder;

$imagePath = 'path/to/your/image.png';
$ipf = new ImagePixelFinder();

// Returns specific pixel color on given coordinates (#hex)
$x = 1;
$y = 1;
$pixelColor = $ipf->findPixelColor($imagePath, $x, $y);

// Returns the weighted color tones used around the edges of the image (Array of #hex (top, bottom, left, right))
$edgesColor = $ipf->findWeightColor($imagePath);

// Return most used color tone on image (#hex)
$edgesColor = $ipf->findWeightColor($imagePath);
```

Contributing
------------

[](#contributing)

If you would like to contribute to the package, please fork it and submit a pull request. Your contributions are welcome!

License
-------

[](#license)

This package is licensed under the MIT License. For more information, see the LICENSE file.

###  Health Score

12

—

LowBetter than 0% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity19

Early-stage or recently created project

 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/4b9871b7f3c1ecc1a9b20a20456809a067f11e177745279ec3ae3b35ff2ed52d?d=identicon)[sameter123](/maintainers/sameter123)

---

Top Contributors

[![smertozturk](https://avatars.githubusercontent.com/u/40407984?v=4)](https://github.com/smertozturk "smertozturk (6 commits)")

### Embed Badge

![Health badge](/badges/smertozturk-image-pixel-finder/health.svg)

```
[![Health](https://phpackages.com/badges/smertozturk-image-pixel-finder/health.svg)](https://phpackages.com/packages/smertozturk-image-pixel-finder)
```

###  Alternatives

[goat1000/svggraph

Generates SVG graphs

135911.1k3](/packages/goat1000-svggraph)[gravatarphp/gravatar

Gravatar URL builder which is most commonly called as a Gravatar library

16653.6k2](/packages/gravatarphp-gravatar)[rsoury/wp-imgix

Rewrites WordPress image URLs to use ImgIX

167.2k](/packages/rsoury-wp-imgix)

PHPackages © 2026

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