News:

RCS Forums now online!

Main Menu

Immages in C

Started by MauryG5, May 04, 2025, 04:30:27 PM

Previous topic - Next topic

MauryG5

Sorry guys, I was trying to insert images in jpg format in a code written in C, but I can't figure out how to do it. I've read various information on the net but nothing that is really useful. I was wondering if it is possible to load images using C as a programming language...

ClassicHasClass

Yes, with libjpeg. Works pretty much anywhere.

MauryG5

Hi Classic, thank you for the information, I knew I could count on you. Listen, is there a general procedure or a written code to understand in detail how to write? Always thanks

ClassicHasClass


MauryG5

Yes perfect thanks, yesterday I looked on github but I hadn't found this part yet. Above all I have to understand how to enter the path each time to make it send the photos I have to display to the screen. It seems that for each new photo I have to write all these lines of code, good work then... ;D

MauryG5

#5
I rewrote all that example code and entered the width and height in the required parameters, those of a photo that I'm trying to run.

Now I managed to get it to start, I made a mistake in the startup file after compiling and then I didn't understand where to put my file. I managed to get the image to start, everything is,
thank you very much Classic!