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

Home » Public Forums » archive » Crowd support wanted for adding metadata to READ_PNG and WRITE_PNG
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: Crowd support wanted for adding metadata to READ_PNG and WRITE_PNG [message #93616 is a reply to message #93614] Tue, 06 September 2016 08:31 Go to previous messageGo to previous message
Dick Jackson is currently offline  Dick Jackson
Messages: 347
Registered: August 1998
Senior Member
On Tuesday, 6 September 2016 04:26:50 UTC-7, superchromix wrote:
> On Monday, September 5, 2016 at 5:11:17 AM UTC+2, andrew...@gmail.com wrote:
>> Hi All,
>>
>> The PNG image format is a wonderous thing. Lossless, but with user selectable variable compression, 8 or 16bit image data, and most importantly, the ability to
>> have user-defined metadata!
>>
>> Yet for some reason, in their infinite wisdom, RSI never provided the functionality to read or write the metadata when they wrote the routines! :-(
>>
>> I run a number of airglow cameras, provided by the great guys at Keo Scientific,
>> and the images are saved as PNG files, with a basic set of metadata. Now I've been able to write IDL code to extract that metadata, and write PNG files with (extended, modified) metadata, as reported previously, but it's quite (read _very_) slow, and would definitely be better off done within the IDL Read_PNG and Write_PNG routines!
>>
>> However, as I'm the only IDL user on the planet to request this feature, I'm told by Harris Support that it won't happen unless more users put their hands up and
>> say "Me too, please!"
>>
>> So here's my plea to you. If you think it might be a Good Thing to have IDL's
>> own PNG routines handle the reading and writing of user supplied metadata, please
>> submit a Feature Request to support@harris.com to this effect.
>>
>> Many Hosannas will be said in your name for doing so...
>>
>>
>> Regards,
>>
>> Andrew Cool
>> www.skippysky.com.au (for all your astronomy weather forecast needs...)
>
> This is not exactly what you're looking for, but just out of curiosity.. Have you considered using the equivalent routines from Python? Are these not, essentially, available within IDL as of the latest releases?
>
> If you are distributing an IDL application, perhaps this wouldn't work for you? Or, would it? What are the implications of using the IDL-Python bridge for distributed IDL applications which are meant to be run via the virtual machine?
>
> best
> Mark

I can confirm that, at least with IDL 8.5.1 on Windows 10, IDL VM calls to Python work just fine! This discovery made me very happy.

Cheers,
-Dick

Dick Jackson Software Consulting Inc.
Victoria, BC, Canada --- http://www.d-jackson.com
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Some IDL_Number documentation quirks
Next Topic: drizzle function (?)

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

Current Time: Wed Oct 08 13:51:32 PDT 2025

Total time taken to generate the page: 0.00380 seconds