square/pollexor — explained in plain English
Analysis updated 2026-08-08 · repo last pushed 2026-08-03
Generate resized profile photo URLs for thumbnails and full-size avatars from a single source image.
Build crop and align URLs for user-uploaded images displayed in mobile app list views.
Create watermarked or corner-rounded image URLs on the fly without pre-generating each variation.
| square/pollexor | owasp/mastg-hacking-playground | peng-zhihui/bluetoothtouch | |
|---|---|---|---|
| Stars | 639 | 686 | 533 |
| Language | Java | Java | Java |
| Last pushed | 2026-08-03 | 2022-10-31 | 2021-07-09 |
| Maintenance | Active | Dormant | Dormant |
| Setup difficulty | easy | moderate | moderate |
| Complexity | 2/5 | 3/5 | 2/5 |
| Audience | developer | developer | general |
Figures from each repo's GitHub metadata at analysis time.
Requires a running Thumbor server to actually process the generated URLs, the library itself just builds the URL strings.
Pollexor is a Java library by Square that helps you generate URLs for resizing, cropping, and applying effects to images. It works with Thumbor, an open-source image service that processes images on the fly. Instead of manually writing out long, complex URL strings, you use a clean, readable style where each operation chains together naturally. At a high level, you tell the library where your Thumbor server lives and optionally provide an encryption key. Then you specify the source image URL and chain together whatever transformations you need, resize to 48 by 48 pixels, crop a specific region, align to a corner, add a watermark, round the corners, or adjust quality. The library handles assembling all of those instructions into the correct URL format that Thumbor understands. When you are done chaining commands, you call a method that produces the final URL string to drop into your app. This is useful for teams running mobile apps or websites who need to serve many image sizes and variations without pre-generating each one. For example, if you have user-uploaded profile photos and need to display them as small thumbnails in a list view and large avatars on a detail page, you can generate both URLs on the fly from the same source image. The image service does the actual processing when the URL is requested, so your app just builds and requests the URLs. The library is fully compatible with Android, which makes sense given Square's mobile-focused background. The fluent, chaining style is a deliberate design choice, it keeps image transformation code readable and less error-prone compared to hand-crafting URL strings with the right syntax and parameter order.
Pollexor is a Java library that builds Thumbor image-service URLs for resizing, cropping, and adding effects to images using a clean, chaining style instead of manual URL strings.
Mainly Java. The stack also includes Java, Android, Thumbor.
Active — commit in last 30 days (last push 2026-08-03).
Use freely for any purpose, including commercial use, as long as you keep the copyright notice.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.