I was wondering what image handling module does every guys uses for 3D/
CG industry cause PIL does really lack some format support.

- Drake

On Aug 7, 7:52 am, Sylvain Berger <sylvain.ber...@gmail.com> wrote:
> the best way I found to display image in maya was to convert them using
> imf_copy or some other command application, execute a subprocess.
> You should take a look at the nconvert application... it supports over 300
> image format... exept exr 32 bit  (http://www.xnview.com/en/nconvert.html)
>
> example:  (note that this might not work perfectly as I copy/pasted this
> from a script ans didn't testd it)
> subprocess.Popen('imf_copy %s %s' % (source, dest), stdout =
> subprocess.PIPE, stderr = subprocess.STDOUT, shell=True,
> universal_newlines=True)
>
> Then using the maya UI controls to display the image...
>
> This is not the most flexible way but it works.  As far as pyqt is
> concerned, i am just starting learning qt, so i am not sure if you can
> display jpg in qt windows without a image library like PIL.
>
> And btw PIL doesn't support a lot of format... I quicly ignored PIL because
> of the lack of format support.
>
> 2009/8/7 Jo Jürgens <jojurg...@gmail.com>
>
>
>
> > os.system('imgcvt.exe -f iff -t png '+ iffFile +'  '+ pngFile)
>
> > if you want to display iff files natively in pyqt, my guess is you will
> > have to write something in C (C++?) to make qt read iff files. A bit more
> > work than just converting behind the scenes
>
> > On Fri, Aug 7, 2009 at 1:05 PM, cracker <crackerbu...@gmail.com> wrote:
>
> >> The exe can be run w/ a python script?
>
> >> I'm looking a for a runtime solution -
>
> >> On Aug 7, 2009, at 22:43, Jo Jürgens <jojurg...@gmail.com> wrote:
>
> >> you can convert them using maya/bin/imgcvt.exe, which will be on all Maya
> >> machines, so at least it will work for anyone with Maya
>
> >> On Fri, Aug 7, 2009 at 8:12 AM, Chad Dombrova < <chad...@gmail.com>
> >> chad...@gmail.com> wrote:
>
> >>> when you say 'deploy' do you mean distributing inside or outside of
> >>> your workplace?  if inside, then you should work with your system
> >>> administrators to host python modules in a shared location on a server
> >>> or to distribute modules to user's local machines.  if outside, you
> >>> can use setuptools to allow your module to automatically download
> >>> dependencies when it is installed.
>
> >>> -chad
>
> >>> On Aug 6, 2009, at 9:05 PM, Taylor Carrasco wrote:
>
> >>> > Any ideas on how to view an .iff file in PyQt, mel, or Python?
> >>> > (Without having to install any other libraries like PIL)?
>
> >>> > I can't install PIL or other imaging libraries as if I do, and
> >>> > deploy the script - no one else will have the referenced imports.
>
> --
> "A pit would not be complete without a Freeman coming out of it."
> The Vortigaunt
--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/python_inside_maya
-~----------~----~----~----~------~----~------~--~---

Reply via email to