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

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/python_inside_maya
-~----------~----~----~----~------~----~------~--~---

Reply via email to