CrazyEngineers
  • Embedding images in c++ graphics

    Updated: Oct 26, 2024
    Views: 1.3K
    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
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • Ajay Pandey

    MemberDec 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......................
    Are you sure? This action cannot be undone.
    Cancel
  • Shailaja Tiwari

    MemberDec 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...
    Are you sure? This action cannot be undone.
    Cancel
  • Ajay Pandey

    MemberDec 20, 2013

    Shailaja Tiwari
    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...
    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 ..........😛
    Are you sure? This action cannot be undone.
    Cancel
  • gbit

    MemberDec 24, 2013

    Shailaja Tiwari
    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
    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.
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register