https://github.com/quackster/photorenderer
A tool used to render old Habbo photos from when the camera was first introduced into a greyscale or Habbo-like Sepia PNG image. This supports the Habbo camera used from 2005-2009.
https://github.com/quackster/photorenderer
Last synced: 10 months ago
JSON representation
A tool used to render old Habbo photos from when the camera was first introduced into a greyscale or Habbo-like Sepia PNG image. This supports the Habbo camera used from 2005-2009.
- Host: GitHub
- URL: https://github.com/quackster/photorenderer
- Owner: Quackster
- Archived: true
- Created: 2019-10-26T02:23:18.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-26T13:29:19.000Z (over 6 years ago)
- Last Synced: 2025-06-11T07:44:17.277Z (about 1 year ago)
- Language: Java
- Homepage:
- Size: 53.7 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PhotoRenderer
A tool used to render old Habbo photos. This supports the Habbo camera used from 2005-2009. How it works is that it essentially converts back the binary blob from the MUS data from BITD to a PNG file, and gives either the option of using greyscale or the traditional Sepia style.
## Output
Traditional Sepia theme:

Greyscale theme:

## How to use
```java
// Feel free to read your own PAL files by using PaletteUtils.readPalette("palette/greyscale.pal")
// and adding it to the constructor instead
PhotoRenderer photoViewer = new PhotoRenderer(GreyscalePalette.getPalette(), RenderOption.SEPIA);
var photoData = Files.readAllBytes(Path.of("photo.bin"));
var src = photoViewer.createImage(photoData);
ImageIO.write(src, "PNG", new File("output_sepia.png"));
```
## Contributors
@PaulusParssinen - Originally wrote this in C# (Greyscale only) so I ported it to Java and created the Sepia/official Habbo output.