Python and DISLIN

T

Tom Richardson

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
 
C

chain_lube

Tom Richardson said:
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).

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.
 
T

Tom Richardson

Thank you. I'll work both options.


"Tom Richardson" <[email protected]> wrote in message
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).

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top