Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Function to save and import images in xml in C#

Function to save and import images in xml in C#

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 4 Posters 279 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    IknowQT
    wrote on last edited by
    #1

    I know that in C# there is a function to save and get images, icons in xml.

    Does QT have such a feature? Because I don't want to manage image or icon files. Speedup can also be a reason.

    jsulmJ JonBJ 2 Replies Last reply
    0
    • I IknowQT

      I know that in C# there is a function to save and get images, icons in xml.

      Does QT have such a feature? Because I don't want to manage image or icon files. Speedup can also be a reason.

      jsulmJ Online
      jsulmJ Online
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @IknowQT Do you mean CDATA and Base64 encoded binary data in a XML document?
      If so then take a look at https://doc.qt.io/archives/qt-5.12/qdomcdatasection.html

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2
      • I IknowQT

        I know that in C# there is a function to save and get images, icons in xml.

        Does QT have such a feature? Because I don't want to manage image or icon files. Speedup can also be a reason.

        JonBJ Offline
        JonBJ Offline
        JonB
        wrote on last edited by
        #3

        @IknowQT said in Function to save and import images in xml in C#:

        Speedup can also be a reason.

        You mean saving/loading images in an XML format can result in faster performance than saving them in their native binary format?

        1 Reply Last reply
        0
        • C Offline
          C Offline
          ChrisW67
          wrote on last edited by
          #4

          @IknowQT said in Function to save and import images in xml in C#:

          I know that in C# there is a function to save and get images, icons in xml.

          Care to share a link to the documentation for this API call so that we can have some idea what such a function might do?

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved