I saw and searched juce demo

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.

Try "D:\\a.png"

Thank you so much~~ I solved the problem

 

Thank you. Thank you

 

Have a good day!!