An open API service indexing awesome lists of open source software.

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.

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:

![](https://i.imgur.com/x0dLwN6.png)

Greyscale theme:

![](https://i.imgur.com/2M8qYJJ.png)

## 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.