whatisgithub

What is pollexor?

square/pollexor — explained in plain English

Analysis updated 2026-08-08 · repo last pushed 2026-08-03

639JavaAudience · developerComplexity · 2/5ActiveLicenseSetup · easy

In one sentence

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.

Mindmap

mindmap
  root((repo))
    What it does
      Builds Thumbor URLs
      Chains image operations
      Encrypts URLs
    Tech stack
      Java
      Android
      Thumbor
    Use cases
      Profile photo thumbnails
      On-the-fly image resizing
      Watermarked images
    Audience
      Mobile app developers
      Web developers
      Backend engineers
    Design
      Fluent chaining API
      Readable code
      Less error-prone

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Generate resized profile photo URLs for thumbnails and full-size avatars from a single source image.

USE CASE 2

Build crop and align URLs for user-uploaded images displayed in mobile app list views.

USE CASE 3

Create watermarked or corner-rounded image URLs on the fly without pre-generating each variation.

What is it built with?

JavaAndroidThumbor

How does it compare?

square/pollexorowasp/mastg-hacking-playgroundpeng-zhihui/bluetoothtouch
Stars639686533
LanguageJavaJavaJava
Last pushed2026-08-032022-10-312021-07-09
MaintenanceActiveDormantDormant
Setup difficultyeasymoderatemoderate
Complexity2/53/52/5
Audiencedeveloperdevelopergeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Requires a running Thumbor server to actually process the generated URLs, the library itself just builds the URL strings.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

So what is it?

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.

Copy-paste prompts

Prompt 1
Add Pollexor to my Java or Android project and build a Thumbor URL that resizes an image to 48x48 pixels with smart crop alignment.
Prompt 2
Show me how to chain multiple Pollexor transformations, resize, crop a region, add a watermark, and round corners, into one final Thumbor URL string.
Prompt 3
Set up Pollexor with an encrypted Thumbor server endpoint and generate a URL for a user profile photo at two different sizes from the same source image.
Prompt 4
Write a helper method using Pollexor that takes a source image URL and a target dimension and returns a Thumbor URL with optimal quality settings.

Frequently asked questions

What is pollexor?

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.

What language is pollexor written in?

Mainly Java. The stack also includes Java, Android, Thumbor.

Is pollexor actively maintained?

Active — commit in last 30 days (last push 2026-08-03).

What license does pollexor use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is pollexor to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is pollexor for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.