Python and DISLIN

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tom Richardson

    Python and DISLIN

    If anyone has any experience using the graphics package DISLIN with Python,
    I'd appreciate some help.

    I am trying to use the function tifmod to change the resolution of a tif
    graphics file. Either I am using it incorrectly, or I don't understand what
    it is supposed to do.
    If I use

    tifmod(N,'INCH' ,'RESOLUTION')

    and change the value of N, I think the size and properties of the resulting
    tif file should change; but nothing seems to change, regardless of how I set
    N (or any of the other parameters). I always get a tif file with the same
    size and characteristics (I did delete the file before each trial).

    What do I not understand?

    Thanks,

    Tom


  • chain_lube@hotmail.com

    #2
    Re: Python and DISLIN

    "Tom Richardson" <n4we@bellsouth .net> wrote in message news:<%38Vb.140 40$Rl4.340@bign ews5.bellsouth. net>...
    [color=blue]
    > If anyone has any experience using the graphics package DISLIN with Python,
    > I'd appreciate some help.
    >
    > I am trying to use the function tifmod to change the resolution of a tif
    > graphics file. Either I am using it incorrectly, or I don't understand what
    > it is supposed to do.
    > If I use
    >
    > tifmod(N,'INCH' ,'RESOLUTION')
    >
    > and change the value of N, I think the size and properties of the resulting
    > tif file should change; but nothing seems to change, regardless of how I set
    > N (or any of the other parameters). I always get a tif file with the same
    > size and characteristics (I did delete the file before each trial).[/color]

    Hi:

    [I once used Python and DISLIN. But nowadays I use something better
    for my scientific calculations: Bigloo (Scheme) + DISLIN.]

    That said: the best you can do: contact directly the developers of
    DISLIN. I made the experience that they are very responsive; you get
    answers as fast as the earth takes for one revolution around itself.

    Comment

    • Tom Richardson

      #3
      Re: Python and DISLIN

      Thank you. I'll work both options.


      <chain_lube@hot mail.com> wrote in message
      news:f7afbb21.0 402080310.7db3e 70e@posting.goo gle.com...[color=blue]
      > "Tom Richardson" <n4we@bellsouth .net> wrote in message[/color]
      news:<%38Vb.140 40$Rl4.340@bign ews5.bellsouth. net>...[color=blue]
      >[color=green]
      > > If anyone has any experience using the graphics package DISLIN with[/color][/color]
      Python,[color=blue][color=green]
      > > I'd appreciate some help.
      > >
      > > I am trying to use the function tifmod to change the resolution of a tif
      > > graphics file. Either I am using it incorrectly, or I don't understand[/color][/color]
      what[color=blue][color=green]
      > > it is supposed to do.
      > > If I use
      > >
      > > tifmod(N,'INCH' ,'RESOLUTION')
      > >
      > > and change the value of N, I think the size and properties of the[/color][/color]
      resulting[color=blue][color=green]
      > > tif file should change; but nothing seems to change, regardless of how I[/color][/color]
      set[color=blue][color=green]
      > > N (or any of the other parameters). I always get a tif file with the[/color][/color]
      same[color=blue][color=green]
      > > size and characteristics (I did delete the file before each trial).[/color]
      >
      > Hi:
      >
      > [I once used Python and DISLIN. But nowadays I use something better
      > for my scientific calculations: Bigloo (Scheme) + DISLIN.]
      >
      > That said: the best you can do: contact directly the developers of
      > DISLIN. I made the experience that they are very responsive; you get
      > answers as fast as the earth takes for one revolution around itself.[/color]


      Comment

      Working...