frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: I made a tool to generate photomosaics with your pictures

https://pictiler.com
82•jakemanger•5h ago
Hi HN!

I wanted to make some photomosaics for an anniversary gift, but I ended up building this tool and turning it into a website that anyone can use.

For those who don’t know, a photomosaic is an image made up of many smaller tile images, arranged in a way that forms a larger, recognisable picture.

The best part? Everything runs directly in your browser. No files are uploaded, and there’s no sign-up required.

Comments

cactusplant7374•4h ago
How hard is it to get something like this to work with HEIC?
jakemanger•4h ago
Are you on Mac? If you right click a file/s > Quick Actions > Convert Image then you should be able to convert to JPEG or PNG.

Funnily enough I also made a universal file converter app which could do it for you on other platforms. Its at https://howtoconvert.co

pimlottc•4h ago
Small suggestion: in the "Try These Examples" section, the call-to-action is click a button that is not initially visible. Users have to hover over the image to see the "recreate" button, which is not obvious. You should add a dedicate "Recreate" button below each example so it's immediately clear what to do.

Also it would a good idea to have a detail view of a sample image at 100% to show that the images are made up of other photos. Maybe even an interactive zoom window. At monitor resolutions, the full images mostly just look like smudgy photos, and not all users may be familiar with photomosiacs. Even the "view" option on the sample mosiacs does not let you see the detail of the individual tiles very well.

jakemanger•4h ago
Thank you for the feedback! I actually just did a quick change to add that recreate button CTA like you said. Much better and easy to understand.

I'll work on that detailed sample image view too. That's a great idea - job for tomorrow.

bazzargh•4h ago
While this is nice enough, it bothers me that these don't look much like "art". If you look at real roman mosaics, they do not place points in a grid - they use a technique called "opus vermiculatum" https://en.wikipedia.org/wiki/Opus_vermiculatum ... snaking the tiles around so that there is a flow to it; the overall effect is much better.

I think that'd be possible to automate too. I was doing something related over here: https://hachyderm.io/@bazzargh/112767548339559102 - in that I was trying to generate sketch-like renderings from photographs. What I did was to pick random points, look at the brightness gradient (taken from the Sobel operator, there are other ways to do this), move up the gradient a bit and sketch some parallel lines (and then various experiments with hatching for shading the flatter areas)

In a similar way you could start with a grid of tiles _with some separation_, and allow them to move and align better with the gradient of the underlying picture, and not lie _on_ edges, if possible. If they overlap, allow the tessera to be cut, and only then choose images to colour-match the average on the tile, leaving some "grout" in the image (I'd probably speckle that a bit so it didn't look too uniform). Then the result might look more like real mosaics.

I might give this a go...

wvlia5•3h ago
It could be better sometimes for tiles to lie over edges. For example, there might be an edge dividing red and green areas, and one of your tiles is mostly half red and half green.
schwartzworld•56m ago
> While this is nice enough, it bothers me that these don't look much like "art".

The author didn't invent this style. The first thing I thought of was the poster for the Truman Show. https://artofthemovies.co.uk/products/the-truman-show-1998-m... The site seems to make that happen quite well.

wang_li•37m ago
There is a naive approach to making this kind of thing that reduces the component images to such a small size (2-3 pixels in large image) that turns this into more of a dithering exercise than looking for artifacts in each component image to match up lines. It's still a nice effect, but it's quite different when the component images are > 10% the size of the final image, instead of < 1% the size.
wvlia5•3h ago
Will you implement a recursive mosaic feature (some tiles bigger than others)?
jakemanger•3h ago
I could. That sounds like a great idea! Was thinking about uneven sized tiles. I just tried to make the basic photo mosaic with even sized tiles for now
the_arun•3h ago
If we combine this with canvas printing, we have an art business.
jakemanger•3h ago
I suppose you could make an art business. Or at least do what a few camera stores do
benbojangles•3h ago
it's hardly a David Hockney
dotancohen•2h ago
Even less so a Harley Davidson.
codingdave•2h ago
There are a plethora of print shops with API access to set this kind of thing up. The problem these days is pricing, specifically shipping. While people may be willing to pay for the work itself, shipping canvasses or framed prints gets expensive fast. This is why so many artists and photographers who sell their photos just sell posters... they are cheap to ship and don't give people sticker shock.
jnovacho•3h ago
How exactly does this work? The example I chose is a mosaic of photos, over which is overlayed the original image with alpha set to 50%.

So it does not use the submitted photos as tiles, right?

jakemanger•3h ago
If you adjust the overlay alpha to 0% you'll see it does use the submitted photos as tiles.

Click the "Create Mosaic" button and you should see it arrange the tiles live in the best possible way to reproduce the image. The overlay is a common technique people use to make the main image more visible. It's a personal preference thing.

Generally, the more diverse or colours you select for your tile images, the more clear and "good" the main mosaic image will be

ColinEberhardt•3h ago
Very cool. I actually created a shareware application that rendered Photomosaics 25 years ago! Here is a link to "Mosaic Magic" from the Wayback Engine:

https://web.archive.org/web/20010405175706/http://fishsoft.c...

I managed to make a decent amount of spending money from that application during my University years.

One interesting lesson I learnt was about enterprise pricing. I think I charged ~$20 for Mosaic Magic, however, I started to get emails from organisations asking about pricing for commercial use. Nothing on my pricing page suggested that commercial use was prohibited, I guess they just thought $20 was rather cheap. From there-on, I charged $150 for "commercial use". Basically, anyone who thought they should be paying more, did!

Finally, Robert Silvers filed a patent and trademark for Photomosaics in ~2000, and was, for a while aggressively pursuing organisations that he felt was infringing. I assume this has all died down now.

jakemanger•3h ago
Thanks for sharing! Both the link and the story. As a University student and someone that has here also made a photomosaic app, that is super relatable.

That's good to know about the pricing. It's free for now. Honestly didn't expect this level of interest (there's 307 people on the site right now according to analytics).

With that interest, I may add some plans - potentially for the commercial use in particular

verelo•1h ago
I just read up on Robert Silvers based on this. He had an interesting career. Really unfortunate he was a patent troll...
bryanthompson•1h ago
I used Mosaic Magic back in my high school journalism class to design a yearbook cover 20+ years ago! Turned out great - it won some kind of award iirc.
teiferer•14m ago
Kudos to OP for not immediately thinking about how he best could monetize this.

I'm glad FOSS made Shareware die out, but now web apps requiring me to create an account first have taken its place. Kudos to OP for resisting that too.

btbuildem•3h ago
A friend of mine made this in the late 90s -- we were in highschool at the time. Of course he used it to make renditions of scantily-clad ladies out of thousands of pictures of, you guessed it.
jakemanger•3h ago
haha there's a few similar stories coming on here now. Great to hear.

Hey, if you want to do that with this software, I can't see any files you upload (it's all local processing in your web browser), so go for it.

talkingtab•3h ago
An alternative: http://imagequilts.com/

The link comes from Edward Tufte's web site.

These are at least related to Edward Tufte. If you scroll to the bottom there is information about installing a Chrome Extension (disclaimer: I do not use Chrome) that will generate an image quilt.

The author of the Extension is given as Adam Schwartz.

[edit: Chrome store link is https://chromewebstore.google.com/detail/imagequilts/ceebcpb... ]

mentalgear•2h ago
Nice! Almost 20 years ago I paid good money to get this done.

I see that your method also uses a lot of tinting and even overlaying the original image.

Would be great though if this was adjustable via sliders!

Thank You for making this available local-/privacy-first & in-browser!

jakemanger•1h ago
No worries! This is adjustable via sliders (in the bottom left area)

Thanks for the kind words!

aosaigh•2h ago
Excited to check this out. Did you write your own library for this or use something like OpenSeaDragon behind-the-scenes?
jakemanger•1h ago
This is completely my own library running in the cloud. Started as a little experiment for myself and now it's blown out into this
aosaigh•1h ago
I would potentially pay a licensing fee for the library if it could be used in other apps (and commercial settings).
darod•32m ago
why does this require uploading my photos? can't something like this run native?
waltbosz•5m ago
The website says it runs locally. In browser JavaScript , you can import a file from local file system to JavaScript's local scope without sending it to a server. I'm guessing that's how this app works.

If you want to know for sure, open your browser's dev tools, switch to the network tab, import a file and watch to see if a network request is made.

Thoughts on "Do 100 Thing"

https://tasshin.com/blog/thoughts-on-do-100-thing/
1•tasshin•1m ago•0 comments

Boring Billion

https://en.wikipedia.org/wiki/Boring_Billion
1•Hooke•1m ago•0 comments

Show HN: Font Awesome 7 launches with new icon packs

https://fontawesome.com
1•claviska•2m ago•0 comments

Sploitlight: Analyzing a Spotlight-based macOS TCC vulnerability

https://www.microsoft.com/en-us/security/blog/2025/07/28/sploitlight-analyzing-a-spotlight-based-macos-tcc-vulnerability/
1•todsacerdoti•4m ago•0 comments

Show HN: SitzProbe.app – Spaced Repetition for Performances and Complex Tasks

https://sitzprobe.app/
1•jtanderson•5m ago•0 comments

Top Countries by Patent Applications (1980-2023) [video]

https://www.youtube.com/watch?v=ylj_5MX8TEs
1•th1nhng0•5m ago•0 comments

"The Fantastic Four" Is the Great American Novel

https://www.tedagame.com/zak-site/Great-American-Novel/Great-American-Novel.html
2•blacksqr•7m ago•0 comments

We Raised $21M to Give Fortune 100 Cloud for AI Agents

https://e2b.dev/blog/series-a
1•conroy•8m ago•0 comments

From XML to JSON to CBOR

https://cborbook.com/introduction/from_xml_to_json_to_cbor.html
1•todsacerdoti•8m ago•0 comments

AI Is Eating the Internet

https://fika.bar/paoramen/ai-is-eating-the-internet-01K10JG1SHGZQHN61HPGWPXN60
2•masylum•10m ago•1 comments

The Quintessential Urban Design of 'Sesame Street'

https://www.nytimes.com/2025/07/28/realestate/sesame-street-design-over-the-years.html
1•jaredwiener•11m ago•0 comments

Why I'm Leaving Design–and What That Says about It's Future

https://www.suffsyed.com/futurememo/why-im-leaving-design
1•suffsyed•14m ago•1 comments

$350M lawsuit: Meta allegedly used torrents of 2,600 adult films for AI

https://torrentfreak.com/copyright-lawsuit-accuses-meta-of-pirating-adult-films-for-ai-training/
2•BinaryWhiz•14m ago•1 comments

Show HN: Appcircle CodePush – Secure Alternative of App Center CodePush

https://appcircle.io/codepush
2•orangepush•15m ago•0 comments

NASA faces brain drain as thousands exit under voluntary resignation scheme

https://www.theregister.com/2025/07/28/nasa_voluntary_exits/
2•rntn•15m ago•1 comments

Libraries Pay More for E-Books. Some States Want to Change That

https://www.nytimes.com/2025/07/16/books/libraries-e-books-licensing.html
1•bookofjoe•15m ago•1 comments

Testing the GCC-based Rust compiler(back end)

https://fractalfir.github.io/generated_html/cg_gcc_bootstrap_2.html
1•todsacerdoti•17m ago•0 comments

Reflections on SoCraTes 2025

https://disintegrated.parts/notes/conferences/socrates/2025.html
1•gpi•17m ago•0 comments

Large-scale processing of within-bone nutrients by Neanderthals 125k years ago

https://www.science.org/doi/10.1126/sciadv.adv1257
1•pulisse•17m ago•0 comments

AI Takeover Might Happen in 2 Years – LessWrong

https://www.lesswrong.com/posts/KFJ2LFogYqzfGB3uX/how-ai-takeover-might-happen-in-2-years
2•9woc•17m ago•0 comments

Show HN: I built a tool that turns OpenAPI specs into an agent

https://www.pitch31.ai/
2•red93•17m ago•0 comments

We built fast UPDATEs for ClickHouse – Part 2: SQL-style UPDATEs

https://clickhouse.com/blog/updates-in-clickhouse-2-sql-style-updates
2•sdairs•18m ago•0 comments

Show HN: I Built a Tool to Visualize Claude Code's LLM Interactions

https://yuyz0112.github.io/claude-code-reverse/visualize.html
1•yz-yu•20m ago•0 comments

A secretive space plane is set to launch and test quantum navigation technology

https://arstechnica.com/space/2025/07/a-secretive-space-plane-is-set-to-launch-and-test-quantum-navigation-technology/
1•Harvesterify•21m ago•0 comments

Show HN: I built a free tool to find valuable expired domains using AI

https://www.pendingdelete.domains
2•hikerell•21m ago•0 comments

Platform to chat with AI characters and solve mysteries: VirtualTalesHub

https://virtualtaleshub.com/en
1•titohacks•22m ago•1 comments

Translating Cython to Mojo, a first attempt

https://fnands.com/blog/2025/sklearn-mojo-dbscan-inner/
1•fnands•23m ago•1 comments

Mantle contributions to global tungsten recycling and mineralization

https://www.nature.com/articles/s43247-025-02471-2
1•PaulHoule•27m ago•0 comments

Six Principles for Production AI Agents

https://www.app.build/blog/six-principles-production-ai-agents
2•carlotasoto•28m ago•1 comments

The 90-Minute Flow Protocol: Using Neuroscience and Claude Code

1•IgorGanapolsky•28m ago•0 comments