How to save and load image in qt
-
@UG-SEP said in How to save and load image in qt:
those who don't have the image inside the file
What file? Can you please explain better what you want to do?
-
Let think you are my friend and I want to send you a file of my own extension .hmt with the software and in that file, an image exists (The program open the image by its location) so if you open it then the image is not visible to you so can you tell me how can I assign an image in an object and then I save the object in a file and then read the object while writing the file...
Hope you understand -
@UG-SEP said in How to save and load image in qt:
so can you tell me how can I assign an image in an object
I still don't understand what you mean. What object?
Are you talking about HTML file + images?
How does this "object" (whatever it is) access this image? -
Ok so,
you have seen that whenever we send a .doc file in which some images are there so anyone can see that image if we send him the .doc file so how can I create so that if I also send my .hmt extension file to someone so he or she can see that image inside the file -
@UG-SEP said in How to save and load image in qt:
.hmt extension file to someone so he or she can see that image inside the file
It depends on the format of that htm file.
What is this format? Is it your own format? Or something existing? -
@UG-SEP Well, then you can decide how to include images. I have no idea how your format is defined. You did not even tell us whether it is text or binary format.
For example docx from Microsoft Word is a zip archive containing XML files and images (and what else is part of the document). The images are referenced in XML files then.