How do you open an XML picture file?

Tags: xml file
Question!

I have a digital elgph camera and accidently pressed something that turned all my pictures into XML files, they all show up on my computer but i cannot open them. Is there any way i am able to open them?

By : Jan Zich


Answers

This XML should have Base64-encoded image data. You can try decoding this section of XML and write all bytes to disk. From there, you can more or less guess what is the format of the file by looking at first several bytes of the file (for instance PNG files have %PNG in the header, JPEGs have JFIF somewhere near the beginning, etc.)



Basically, it's a combination of NIH Syndrome and an understanding of Open Source as a learning tool rather than a method used to create a product.

I don't think NIH is necessarily bad in Open Source, mostly because a really high percentage of Open Source projects never make it out of the "hobby" stage.

By : Dan Olson


A) Redundancy is not an exclusive FOSS phenomenon. Even monopolies have their (less notable) competitors -- while almost everyone uses Adobe Photoshop for raster graphics, some still use similar programs by Jasc, Corel or others.

B) Doing the same thing doesn't mean they're doing it the same way. Even if two programs seem almost identical, they usually differ in functionality, interface or paradigm. Merging "the best of both worlds" would often result in usability nightmares and inconsistent behaviour.

C) The easiest way to learn how something works is to make it yourself. Nothing teaches you as much about the way a certain API or language works as writing software in it. Often these toy programs end up becoming useful in some way or another and some of them eventually find widespread use or get picked up by a skilled programmer finding potential.

D) If programmers migrate, software has to, as well. Sometimes you learn a new language or settle on a better one only to find out your favourite API or application doesn't support it. Porting them to your new language of choice often leads to further changes making them unique and distinct from the originals. In some cases they'll get ported back to their original language and the result is reminiscent of a game of FOSS telephone.

E) Everyone has an opinion. Not every feature request results in a feature and not every program is up to the unique task at hand. Also, some people just crave perfection. The beautiful thing about programming and FOSS in particular is that if you THINK you can do it better, you can actually go ahead and try. No DMCA to stop you either.

If you want, you can look at it as an evolutionary process, yes. Some programs and APIs find their niches, some become stupidly popular and some just linger in obscurity or get eaten by the dreaded 404. But as long as there's still some traces of it on the web, someone could still go ahead and pick it up and breathe life back into it -- this is what distinguishes FOSS from non-FOSS. Death is not a dead end.

By : Alan Plum


This video can help you solving your question :)
By: admin