comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Writing PNG file in pure IDL with metadata
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Writing PNG file in pure IDL with metadata [message #92145 is a reply to message #92144] Tue, 20 October 2015 04:23 Go to previous messageGo to previous message
Mark[1] is currently offline  Mark[1]
Messages: 66
Registered: February 2008
Member
On Tuesday, 20 October 2015 20:39:13 UTC+13, andrew...@gmail.com wrote:
> Hi All,
>
> I have a bunch of Canon RAW .CR2 files that I'd like to transmogrify
> into PNG files with nice informative metadata embedded in them.
>
> Unfortunately IDL's inbuilt READ_PNG and WRITE_PNG don't know that PNG files can take metadata, and it looks like I'll be old, fat and bald before they do.
> Wait, I am old, fat and bald... :-(
>
> Anyway, I wondering if anyone has invented this particular wheel before.
> I'd be happy to work with a pure IDL write routine, or some method of Spawning off a command to a 3rd party program.
>
> TIA,
>
> Andrew

ImageMagick should do this:

http://www.imagemagick.org/Usage/basics/#attributes

It's available on Linux, obviously, and on Windows via Cygwin. I haven't used ImageMagick for this purpose but I do regularly use it from IDL for format conversion (usually on windows via Cygwin).
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL and GPU
Next Topic: Making an array of only the first number of each row in a file

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:55:36 PDT 2025

Total time taken to generate the page: 0.00871 seconds