Jump to content

Izg


Recommended Posts

Hi, Thanks but I think I was slightly misunderstood. I am trying to convert sequence of 32bit floating point Zdepth images to 8bit using commandline tool IZG - and have problem to figure out how can I convert the sequence...

Thanks,

Kuba

Link to comment
Share on other sites

Hi, Thanks but I think I was slightly misunderstood. I am trying to convert sequence of 32bit floating point Zdepth images to 8bit using commandline tool IZG - and have problem to figure out how can I convert the sequence...

Thanks,

Kuba

28649[/snapback]

Personally, I'd write a quick and dirty VEX COP to do it... If I have time, I'll put one up on the exchange... But it should be dirt simple to do this.

Link to comment
Share on other sites

if you're using Apprentice COPs will watermark your files....

28656[/snapback]

...so izg won't work either without proper licenese... or (?) will save *.picnc files, right?

The same here COP after job done can save picnc..? Just can't check it now...

Link to comment
Share on other sites

you can always do like that:

cd to pic's directory, then:

>>python
>>import os
>>for pic in os.listdir(''):    # make sure there are only pics in this dir
>>.........os.system('izg -depth 8 %s %s.%s.tiff' % (pic,pic.split('.')[0],pic.split('.')[1])) #all in one line!
...
...

that's it!

ugly but funny :)

cheers,

SY.

[edit]

ok, I feel guilty, so perhaps this would look better:

>>python
>>import os
>>for item in os.listdir(''):
>>.......if item.endswith('pic'):
>>................newItem = '.'.join(item.split('.')[0:2])
>>................os.system('izg -depth 8 %s %s.tiff' % (item, newItem))

;)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...