Showing a file

I am a noob in programing, and have just learned some of the basics.

And i wonder if i could show a file (like a picture) when running the
program??.

Sigge Sg wrote:

I am a noob in programing, and have just learned some of the basics.

And i wonder if i could show a file (like a picture) when running the
program??.

yes…

Ilan B. wrote:

Sigge Sg wrote:

I am a noob in programing, and have just learned some of the basics.

And i wonder if i could show a file (like a picture) when running the
program??.

yes…

How??

Sigge Sg wrote:

How??

By using a GUI library. And for which one, it depends of your needs…

But if you just want to display a picture, the asiest way would be Shoes
I guess.

Shoes.app do
image “foo/bar.jpg”
end

But I guess the question is too vague to answer accurately

Sigge Sg wrote:

can i display any picture with the Shoe library??

At least for PNG, JPEG or GIF format, yes.
You can even make it point to an image on the net.

By using a GUI library. And for which one, it depends of your needs…

But if you just want to display a picture, the asiest way would be Shoes
I guess.

Shoes.app do
image “foo/bar.jpg”
end

But I guess the question is too vague to answer accurately

can i display any picture with the Shoe library??

Sorry! i didn’t understand the code.

I know i’m a noob.

What should I write if i wanna display a picture named “lol.JPEG” from
the “my picture” folder??