Please consider registering

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —

— Match —

— Forum Options —

Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Elegant way to change bitmaps? (RackAFX7)
August 13, 2019 - 2:10 am
Member Since: June 25, 2018
Forum Posts: 37
sp_UserOfflineSmall Offline


me again 😀

Is there any elegant way to change bitmaps (png) of knobs?
In RackAFX6 it was like this: Make a new png, kick it in the ressorce folder, build, done.
In RackAFX7 it is like this: Make a new png, store it somewhere (because I'm not able to replace the original file until closing RackAFX), delete the original file from the GUI-Designer, rebuild (!) the whole solution, add the new file to the GUI-Designer, rebuild(!) the whole solution again. 
Sometimes deleting from the GUI-Designer doesn't work ...

I know - I could use different file names but in my case I have f.i. knobs that are underlayed with a VU-Meter (or LED) and have a little button in the center. And here I'm talking about 80 knobs = 240 images. To separate and realign them is something about 3 hours (stupid pixel moving) each time ...

So - is there any better solution?

Btw: when i set a knob to log and it hits 0 scary things are happening (NAN or inf or so) 😉

W Pirkle
August 13, 2019 - 1:05 pm
Member Since: January 29, 2017
Forum Posts: 344
sp_UserOfflineSmall Offline

The knob graphics are now stored in the XML file. This removes the need to add the files to each compiler project as resources. The original location of the PNG file is irrelevant because the PNG data is encoded (captured) into the XML file. This has to be done using the PNG Import method, which uses VSTGUI4's encoder object to do that. 

If you start with a blank project, and then add a PNG file to it, you can then inspect the XML file and see the PNG data. 

- Will

August 13, 2019 - 1:12 pm
Member Since: June 25, 2018
Forum Posts: 37
sp_UserOfflineSmall Offline


i know the pngs get stored with the XML file.

But the workflow is bad when one has to change images. Maybe do something with the Edit-Button in the Gui Designers PNG menu -like "replace image" or "reload png" or so ?

August 14, 2019 - 5:30 pm
Member Since: June 25, 2018
Forum Posts: 37
sp_UserOfflineSmall Offline

Removing images from the XML(RackAFX) doesn't work for all images.

In GUI Designer -> PNGs -> Delete than Update, Rebuild Solution.

Sometimes they still appear under PNGs ...

Am I doing something wrong?

Forum Timezone: America/New_York

Most Users Ever Online: 55

Currently Online:
10 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Skyler: 48

Derek: 46

Frodson: 45

Peter: 41

clau_ste: 39

TheSmile: 37

JimmyM: 33

Gwen: 32

EZB: 24

lppier: 23

Member Stats:

Guest Posters: 1

Members: 565

Moderators: 1

Admins: 4

Forum Stats:

Groups: 12

Forums: 36

Topics: 581

Posts: 2326

Newest Members:

frankthetank, dhodgson, Wanderer, mister1234, Evan Galvanek, Rowan Fraser, patrickbarr1984, Ray C., Jon R., Pat

Moderators: W Pirkle: 344

Administrators: Tom: 69, JD Young: 80, Will Pirkle: 0, W Pirkle: 344