I saw and searched juce demo


#1

Good Evening, Jules

 

I saw and searched juce demo and google sites to solve my problem.

 

There is not an error but I can't load image. Doesn't it incorrect?

 

Image img;

File f("D:\a.PNG");

img = ImageFileFormat::loadFrom(f);

g.drawImageAt(img, 100, 100, false);

 

You recommended me "There are lots of examples of loading and drawing images in the juce demo.. See ImageFileFormat::loadFrom and Graphics::drawImage, etc."

 

I refered juce_ImageFileFormat.


#2

Try "D:\\a.png"


#3

Thank you so much~~ I solved the problem

 

Thank you. Thank you

 

Have a good day!!