Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

magick in GDL

rickcos
2010-08-17
2013-06-03
  • rickcos
    rickcos
    2010-08-17

    I am trying to digitize .png files.  I have a code in IDL that would read_png and assign values along the axes and then you use the mouse click to generate points over the top of the graph.  In GDL I get  MAGICK_OPEN: error.

    Has anyone started to work with the magick pro's or have another method of creating a 2d array from a plot in GDL?

    Thanks

    Rick

     
  • Please post here some example code that reveals the problem - otherwise it's difficult to help you. The "MAGICK_OPEN: error" message says almost nothing :(. I had no problems with PNG i/o in GDL - in principle it should work.
    Sylwester

     
  • rickcos
    rickcos
    2010-08-18

    for some strange reason when I specified the exact path to the file, not using the ~ to indicate the home directory, it worked

    thanks for advice on posting for future help

     
  • Alain C.
    Alain C.
    2010-08-19

    I made several combinations, without problems. Same behavior than in IDL.
    Your code is welcome.

    Could you please too said which version of GDL you are using (print, !gdl, !version) on which OS.