WebFaction
Community site: login faq

Hi all.

I'm in need of handling a large ammount of tiff files which are made with the Group 4 compression.

Sadly PIL doesn't natively handle this kind of files but there is a patch that does just that (instructions).

I've managed to compile PIL with the patch in my dev box, but it needs to overwrite some of the libTiff's header files which I think it's not cool on a shared account.

Has anyone been in need of the same thing? Does anyone has some pointer as how should I proceed with this? I could not find any autoritative source on PIL's configure options, is there any documentation here on webfaction?

Thanks in advance.

asked 21 May '12, 17:52

tutuca
264
accept rate: 100%

edited 22 May '12, 12:41

Overwriting libtiff's header files should be fine on a shared account - you just need to install libtiff first to your HOME directory and then install PIL with the patch, ensuring that it is smart enough to locate your ~/include header files and is not hard-coded to try to overwrite /usr/include.

There's no harm in trying - you won't as a normal user be able to accidentally remove the system-wide libraries - and if you have any specific questions, you can bring them here and we can do our best to assist.

(21 May '12, 19:55) ryans ♦♦

Would be great you had post that as an answer! Thanks anyway. I'll post any new.

(22 May '12, 11:11) tutuca

This builds flawlessy in a virtualenv.

It already has the G4 patch and there's no need to overwrite anything.

permanent link

answered 22 May '12, 12:54

tutuca
264
accept rate: 100%

edited 22 May '12, 23:15

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×909
×12
×1
×1

question asked: 21 May '12, 17:52

question was seen: 2,032 times

last updated: 22 May '12, 23:15

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM