Embedding images in c++ graphics

Shailaja Tiwari

Shailaja Tiwari

@shailaja-tiwari-lKhGjd • Oct 26, 2024

I want to embed an image into my c program using graphics...tried to google about this but couldn't find an appropriate solution.So was just thinking whether this can be done or not..I'm using turbo c

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • Ajay Pandey

    Ajay Pandey

    @ajay-pandey-Zkxqb6 Dec 19, 2013

    @#-Link-Snipped-# Good question but.... not possible in 'C' coz 'C' does not support external graphics .Most of the C libraires are 80s and older.Use Matlab(Written in C,C++,JAVA) or some other external tool. C and C++ mostly used for system programming. graphics libraries work on pixels......................

  • Shailaja Tiwari

    Shailaja Tiwari

    @shailaja-tiwari-lKhGjd Dec 20, 2013

    Ajay Pandey@#-Link-Snipped-# Good question but.... not possible in 'C' coz 'C' does not support external graphics .Most of the C libraires are 80s and older.Use Matlab(Written in C,C++,JAVA) or some other external tool. C and C++ mostly used for system programming. graphics libraries work on pixels......................

    Actualy we have a competetion on animations and we can prefer any language.I have chosen C.
    I'm trying to make a flying butterfly or a solar system with an astranout.....So, external graphics feature would probably prove useful and easy..😛
    Anyway...Now I've to think of some other option..
    If any one has any suggestions (ideas )do post...
    Waiting for replies...

  • Ajay Pandey

    Ajay Pandey

    @ajay-pandey-Zkxqb6 Dec 20, 2013

    Shailaja TiwariActualy we have a competetion on animations and we can prefer any language.I have chosen C.
    I'm trying to make a flying butterfly or a solar system with an astranout.....So, external graphics feature would probably prove useful and easy..😛
    Anyway...Now I've to think of some other option..
    If any one has any suggestions (ideas )do post...
    Waiting for replies...

    Shailaja I suggest u to prefer jquery (language).jquery is the best option to prepare animation within minimum time span. You can simply use pics for animation with frame. Its not tough language and can be learn easly. Another option, to use flash or html5 to prepare animation.also u can use some extenal tools or animation softwares but they r not right option. my suggestion to use jquery ..........😛

  • gbit

    gbit

    @gbit-a14Hq6 Dec 24, 2013

    Shailaja TiwariI want to embed an image into my c program using graphics...tried to google about this but couldn't find an appropriate solution.So was just thinking whether this can be done or not..I'm using turbo c

    Dear Shailaja,

    You can use CImg library.
    You can find resources and tutorials for this at - cimg.sourceforge.net

    I have myself developed and tried out one program its simple and easy to implement.