# Binary Resource Tutorial

**URL:** <https://forum.juce.com/t/binary-resource-tutorial/45047>\
**Category:** Getting Started\
**Created:** [March 16, 2021, 6:51pm UTC](https://forum.juce.com/t/binary-resource-tutorial/45047 "2021-03-16T18:51:15Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![TeotiGraphix](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/teotigraphix/32/2016_2.png) [@TeotiGraphix](https://forum.juce.com/u/TeotiGraphix)\
**Post date:** [March 16, 2021, 7:35pm UTC](https://forum.juce.com/t/binary-resource-tutorial/45047/2 "2021-03-16T19:35:59Z")

</div>

> [@Help adding images/binary data](https://forum.juce.com/t/help-adding-images-binary-data/24012):
>
> Hi, I want to add resources to Juce. I added a new group called Resources. Then add ‘existing file’ and select my .png file. It then adds it with ‘Binary Resource’ ticked. When I save and load it into my IDE (VS) it appears as a png file rather than a text file. Am I doing anything wrong? I thought we’re supposed to make separate files out of our resources.

> [@Adding an image to your JUCE application \[SOLVED\]](https://forum.juce.com/t/adding-an-image-to-your-juce-application-solved/33923):
>
> I wanted to incorporate an image into my component. (Eventually I want to play an animated GIF, but baby steps first!). So I peruse the documentation, and this is the best I came up with: first create a default constructed Image gifImage; in the private: section as this will store an invalid Image for us on the stack, ready for us when we load it up with something: Then we need a File object to store the path to the file. Initially I tried File file{“test.gif”} And even though the documentatio…

> [@How to add a background image](https://forum.juce.com/t/how-to-add-a-background-image/21454):
>
> I’m in the process of learning JUCE (and C++) and by now I’ve done most of the tutorials for Mac OS X with XCode 8.2.1. I know how to add buttons, sliders and how to handle MIDI events (I think ;-)). Now I want to build a standalone app. This app is a (kind of) remote control for my synthesizer (Kurzweil K2500R). Basically rather simple, but at the moment I’m stuck. I want to add an image of the frontpanel of the K2500R as a background image to the app. I managed to use the BinaryBuilder tool to…

A couple threads.

These resources are added in the Projucer which creates the BinaryData h/cpp to access in code.

[https://juce.com/discover/stories/projucer-manual](https://juce.com/discover/stories/projucer-manual)

See; **5.2 File Explorer Folder Settings**

`Binary Resource	- The file is added as a binary resource in your executable. Counts towards your platform-specific binary app size limits.`

---

_[View the full topic](https://forum.juce.com/t/binary-resource-tutorial/45047)._
