[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hope it's not inappropriate to post this here.
>
> Could someone critique my code? I have no Python programmers in my
> office to show this to. The script works OK, but should I do it
> differently? I especially don't like how I check to see if jpegs
[EMAIL PROTECTED] wrote:
> Just curious... is PhotoShop _really_ recursive? We have dozens of
> levels of sub-folders where the pics have been sorted and thousands of
> pics. That's one reason I used os.walk()
Yes, in the sense that there is an "Include All Subfolders" option for
batch operation s
Just curious... is PhotoShop _really_ recursive? We have dozens of
levels of sub-folders where the pics have been sorted and thousands of
pics. That's one reason I used os.walk()
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> Thanks for the example code Larry. It _is_ easier for me to read. I
> like the way you split the file on '.' I may use that. Thanks again!
Warning: that will fail on names with more than one "." in them. It's
generally best to use the provided tools for working with pa
Martin Miller wrote:
> [EMAIL PROTECTED] wrote:
>
>>Hi Peter. The guy who takes the pictures uses Photoshop to convert
>>tiffs to jpegs one by one. When he does a 'Maxium Quality' conversion
>>in Photoshop and I do a 100% quality conversion with Python and PIL,
>>the two converted files are almost
[EMAIL PROTECTED] wrote:
> Hi Peter. The guy who takes the pictures uses Photoshop to convert
> tiffs to jpegs one by one. When he does a 'Maxium Quality' conversion
> in Photoshop and I do a 100% quality conversion with Python and PIL,
> the two converted files are almost identical and this is wha
Thanks for the example code Larry. It _is_ easier for me to read. I
like the way you split the file on '.' I may use that. Thanks again!
--
http://mail.python.org/mailman/listinfo/python-list
Hi Peter. The guy who takes the pictures uses Photoshop to convert
tiffs to jpegs one by one. When he does a 'Maxium Quality' conversion
in Photoshop and I do a 100% quality conversion with Python and PIL,
the two converted files are almost identical and this is what he
wants... that's the only rea
[EMAIL PROTECTED] wrote:
> Hope it's not inappropriate to post this here.
>
> Could someone critique my code?
[snip]
> im.save(outfile, "JPEG", quality=100)
From an effbot posting on 13 Jul 2002:
'''JPEG quality 100 is overkill, btw -- it completely disables JPEG's
quan
[EMAIL PROTECTED] wrote:
> Hope it's not inappropriate to post this here.
>
> Could someone critique my code? I have no Python programmers in my
> office to show this to. The script works OK, but should I do it
> differently? I especially don't like how I check to see if jpegs exist.
>
> The styl
Hope it's not inappropriate to post this here.
Could someone critique my code? I have no Python programmers in my
office to show this to. The script works OK, but should I do it
differently? I especially don't like how I check to see if jpegs exist.
The style may not be acceptable to some, but I'
11 matches
Mail list logo