From lbates@syscononline.com Mon Oct 1 20:21:45 2001 From: lbates@syscononline.com (Larry Bates) Date: Mon, 1 Oct 2001 14:21:45 -0500 Subject: [Image-SIG] PIL and The _imaging C module is not installed Message-ID: <2C1A673A677CD311988E00902773A6DD35C381@qbert.syscon-computers.com> I have struggled for the last two days trying to figure out why this is not working properly. I don't have a clue. When I run a test application that I have written I get the following error: The _imaging C module is not installed When I try to do import _imaging (this was suggested from a message thread that I located) I get: ImportError: DLL load failed: One of the library files needed to run this application cannot be found. The _imaging.pyd file is in c:\python21\DLLs and that path is in my PYTHONPATH environment variable. I downloaded and installed the 1.1.2-20010910 version of PIL and it didn't make any difference. I'm complete stumped. Setup: ActiveState Python Windows 98 Thanks, Larry From Kip.Lehman@Level3.com Tue Oct 2 23:52:51 2001 From: Kip.Lehman@Level3.com (Kip.Lehman@Level3.com) Date: Tue, 2 Oct 2001 16:52:51 -0600 Subject: [Image-SIG] Imaging-1.1.2 probs on RH Linux 7.1 Message-ID: I'm having difficulties getting a test script to work with PIL on a Linux box. I've built and tested Imaging-1.1.2 on a Solaris 2.6 box and had no problems. Sadly, that isn't the case on the Linux box. environment: Red Hat Linux 7.1 Python 2.1.1 Numeric-20.0.0 Imaging-1.1.2 was built in a local directory, no compilation problems were observed. Running the coretest in the libImaging sub-directory had a satisfactory result. problem: simple test program merely importing Image dumps core. test program 'piltest.py in the PIL subdirectory: ------------------------cut---------------- import sys, os import Image print "i am done" sys.exit(0) ------------------------cut--------------------- results: dabox(me)[76]: export PYTHONPATH=".:./PIL" dabox(me)[77]: /usr/local/bin/python PIL/piltest.py i am done Memory fault (core dumped) In testing a slightly larger script, I can seemingly create an Image instance and a Draw instance and draw lines and rectangles. However, the call to the Draw instance's text method eventually leads to a core dump. Just to see what was going on I augmented the text method with some debugging output. In essence it brackets the call to draw_bitmap. What is strange is that the call to draw_bitmap doesn't fail but the call to the text method doesn't return before the core dump. I even put in a noop method call at the end of the text method to see what was going on. the noop method got called and returned but seemingly the return from the text method hits some sort of condition where the core dump occurs. ...in text method calling draw_bitmap... xy is a , value: (50, 105) ink is a , value: -1 text is a , value: Does this work? font is a , value: font.getmask(text) returned : I am in the noop method! and now I'm back from noop prior to returning from text method Memory fault (core dumped) Has anyone else seen and solved this sort of thing? -- Kip Lehman Level(3) Communications Global Network Management Systems kip.lehman@level3.com From sholden@holdenweb.com Wed Oct 3 02:24:46 2001 From: sholden@holdenweb.com (Steve Holden) Date: Tue, 2 Oct 2001 21:24:46 -0400 Subject: [Image-SIG] PIL 1.1.2 with Cygwin Python 2.1 Message-ID: <037801c14baa$30eac3e0$0200000a@holdenweb.com> PIL seems to build amazingly well for Cygwin, except that the _imagingtk won't build: it seems to require Xlib.h, which isn't present on Windows. Is there any support of Tkinter backends under Cygwin? regards Steve -- http://www.holdenweb.com/ From velius@marhost.com Wed Oct 3 03:13:34 2001 From: velius@marhost.com (President of Vallke Solutions - Velius D'Unnero) Date: Wed, 03 Oct 2001 02:13:34 Subject: [Image-SIG] Once in a lifetime chance, please read. Message-ID: WORK AT HOME USING YOUR COMPUTER!!! _________________________________________________________________ Dear Friend, You can earn $46,000 or more in next the 90 days sending e-mail. Seem impossible? Read on for details (no, there is no "catch")... _________________________________________________________________________ "AS SEEN ON NATIONAL T.V." Thank you for your time and Interest. This is the letter you've been reading about in the news lately. Due to the popularity of this letter on the internet, a major nightly news program recently devoted an entire show to the investigation of the program described below, to see if it really can make people money. The show also investigated whether or not the program was legal. Their findings proved once and for all that there are, absolutely no laws prohibiting the participation in the program. This has helped to show people that this is a simple, harmless and fun way to make some extra money at home. The results of this show has been truly remarkable. So many people are participating that those involved are doing, much better than ever before. Since everyone makes more as more people try it out, its been very exciting to be a part of lately. You will understand once you experience it. "HERE IT IS BELOW" _________________________________________________________________________ _________________________________________________________________________ *** Print This Now For Future Reference *** The following income opportunity is one you may be interested in taking a look at. It can be started with VERY LITTLE investment and the income return is TREMENDOUS!!! $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ If you would like to make at least $46,000 in less than 90 days! Please read the enclosed program...THEN READ IT AGAIN!!! $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ THIS IS A LEGITIMATE, LEGAL, MONEY MAKING OPPORTUNITY. It does not require you to come into contact with people, do any hard work, and best of all, you never have to leave the house except to get the mail. If you believe that someday you'll get that big break that you've been waiting for, THIS IS IT! Simply follow the instructions, and your dreams will come true. This multi-level e-mail order marketing program works perfectly...100\% EVERY TIME. E-mail is the sales tool of the future. Take advantage of this non-commercialized method of advertising NOW!!! The longer you wait, the more people will be doing business using e-mail. Get your piece of this action!!! MULTI-LEVEL MARKETING (MLM) has finally gained respectability. It is being taught in the Harvard Business School, and both Stanford Research and the Wall Street Journal have stated that between 50\% and 65\% of all goods and services will be sold through multi-level methods by the mid to late 1990's. This is a Multi-Billion Dollar industry and of the 3,500,000 millionaires in the WORLD, 20\% ( 700,000) made their fortune in the last several years in MLM. Moreover, statistics show that over 100 people become millionaires everyday through Multi-Level Marketing. You may have heard this story before, but over the summer Donald Trump (A MULTI-BILLIONAIRE, ONE OF THE WEALTHIEST MEN IN THE WORLD) made an appearance on the David Letterman show. Dave asked him what he would do if he lost everything and had to start over from scratch. Without hesitating, Trump said he would find a good network marketing company and get to work. The audience started to hoot and boo him. He looked out at the audience and dead-panned his response "That's why I'm sitting up here and you are all sitting out there!" With network marketing you have two sources of income. Direct commissions from sales you make yourself and commissions from sales made by people you introduce to the business. Residual income is the secret of the wealthy. It means investing time or money once and getting paid again and again and again. In network marketing, it also means getting paid for the work of others. This program is currently being utilized in more than 50 different countries across the world. The enclosed INF0RMATION is something I almost let slip through my fingers. Fortunately, sometime later I re-read everything and gave some thought and study to it. My name is Johnathon Rourke. Two years ago, the corporation I worked at for the past twelve years down-sized and my position was eliminated. After unproductive job interviews, I decided to open my own business. Over the past year, I incurred many unforeseen financial problems. I owed my family, friends and creditors over $35,000. The economy was taking a toll on my business and I just couldn't seem to make ends meet. I had to refinance and borrow against my home to support my family and struggling business. AT THAT MOMENT something significant happened in my life and I am writing to share the experience in hopes that this will change your life FOREVER FINANCIALLY!!! In mid December, I received this program via e-mail. Six month's prior to receiving this program I had been sending away for INF0RMATION on various business opportunities. All of the programs I received, in my opinion, were not cost effective. They were either too difficult for me to comprehend or the initial investment was too much for me to risk to see if they would work or not. One claimed that I would make a million dollars in one year...it didn't tell me I'd have to write a book to make it! But like I was saying, in December of 1997 I received this program. I didn't send for it, or ask for it, they just got my name off a mailing list. THANK GOODNESS FOR THAT!!! After reading it several times, to make sure I was reading it correctly, I couldn't believe my eyes. Here was a MONEY MAKING PHENOMENON. I could invest as much as I wanted to start, without putting me further into debt. After I got a pencil and paper and figured it out, I would at least get my money back. But like most of you I was still a little skeptical and a little worried about the legal aspects of it all. So I checked it out with the U.S. Post Office (1-800-725-2161 24-hrs) and they confirmed that it is indeed legal! After determining the program was LEGAL and NOT A CHAIN LETTER, I decided "WHY NOT." Initially I sent out 100,000 e-mails. It cost me about $15 for my time on-line. The great thing about e-mail is that I don't need any money for printing to send out the program, and because all of my orders are fulfilled via e-mail, the only expense is my time. I am telling you like it is, I hope it doesn't turn you off, but I promised myself that I would not "rip-off" anyone, no matter how much money it cost me. In less than one week, I was starting to receive orders for REPORT #1. By January 13, I had received 26 orders for REPORT #1. Your goal is to "RECEIVE at least 20 ORDERS FOR REPORT #1 WITHIN 2 WEEKS. IF YOU DON'T, SEND OUT MORE PROGRAMS UNTIL YOU DO!" My first step in making $46,000 in 90 days was done. By January 30, I had received 196 orders for REPORT #2. Your goal is to "RECEIVE AT LEAST 100+ ORDERS FOR REPORT #2 WITHIN 2 WEEKS. IF NOT, SEND OUT MORE PROGRAMS UNTIL YOU DO. ONCE YOU HAVE 100 ORDERS, THE REST IS EASY, RELAX, YOU WILL MAKE YOUR $46,000 GOAL." Well, I had 196 orders for REPORT #2, 96 more than I needed. So I sat back and relaxed. By March 1, of my e-mailing of 100,000, I received $42,000 with more coming in every day. I paid off ALL my debts and bought a much needed new car. Please take time to read the attached program, IT WILL CHANGE YOUR LIFE FOREVER!!! Remember, it won't work if you don't try it. This program does work, but you must follow it EXACTLY! Especially the rules of not trying to place your name in a different place. It won't work, you'll lose out on a lot of money! In order for this program to work, you must meet your goal of 20+ orders for REPORT #1, and 100+ orders for REPORT #2 and you will make $46,000 or more in 90 days. I AM LIVING PROOF THAT IT WORKS!!! If you choose not to participate in this program, I am sorry. It really is a great opportunity with little cost or risk to you. If you choose to participate, follow the program and you will be on your way to financial security. If you are a fellow business owner and are if financial trouble like I was, or you want to start your own business, consider this a sign. I DID! Sincerely, Johnathon Rourke A PERSONAL NOTE FROM THE ORIGINATOR OF THIS PROGRAM: By the time you have read the enclosed program and reports, you should have concluded that such a program, and one that is legal, could not have been created by an amateur. Let me tell you a little about myself. I had a profitable business for 10 years. Then in 1979 my business began falling off. I was doing the same things that were previously successful for me, but it wasn't working. Finally, I figured it out. It wasn't me, it was the economy. Inflation and recession had replaced the stable economy that had been with us since 1945. I don't have to tell you what happened to the unemployment rate... because many of you know from first hand experience. There were more failures and bankruptcies than ever before. The middle class was vanishing. Those who knew what they were doing invested wisely and moved up. Those who did not, including those who never had anything to save or invest, were moving down into the ranks of the poor. As the saying goes, "THE RICH GET RICHER AND THE POOR GET POORER." The traditional methods of making money will never allow you to "move up" or "get rich", inflation will see to that. You have just received INF0RMATION that can give you financial freedom for the rest of your life, with "NO RISK" and "JUST A LITTLE BIT OF EFFORT." You can make more money in the next few months than you have ever imagined. I should also point out that I will not see a penny of this money, nor anyone else who has provided a testimonial for this program. I have already made over 4 MILLION DOLLARS! I have retired from the program after sending out over 1,600,000 programs. Now I have several offices that make this and several other programs here and over seas. Follow the program EXACTLY AS INSTRUCTED. Do not change it in any way. It works exceedingly well as it is now. Remember to e-mail a copy of this exciting report to everyone you can think of. One of the people you send this to may send out 100,000 or more...and your name will be on everyone of them! Remember though, the more you send out the more potential customers you will reach. So my friend, I have given you the ideas, INF0RMATION, materials and opportunity to become financially independent, IT IS UP TO YOU NOW! "THINK ABOUT IT" Before you delete this program from your mailbox, as I almost did, take a little time to read it and REALLY THINK ABOUT IT. Get a pencil and figure out what could happen when YOU participate. Figure out the worst possible response and no matter how you calculate it, you will still make lot of money! You will definitely get back what you invested. Any doubts you have will vanish when your first orders come in. IT WORKS! Jody Jacobs, Richmond, VA HERE'S HOW THIS AMAZING PROGRAM WILL MAKE YOU THOUSANDS OF DOLLAR$ INSTRUCTIONS: This method of raising capital REALLY WORKS 100% EVERY TIME. I am sure that you could use up to $46,000 or more in the next 90 days. Before you say "BULL... ", please read this program carefully. This is not a chain letter, but a perfectly legal money making opportunity. Basically, this is what you do: As with all multi-level businesses, we build our business by recruiting new partners and selling our products. Because of the global nature of the internet, you will be able to recruit new multi-level business partners from all over the world, and we offer a product for EVERY dollar sent. YOUR ORDERS COME BY MAIL AND ARE FILLED BY E-MAIL, so you are not involved in personal selling. You do it privately in your own home, store or office. This is the GREATEST Multi-Level Mail Order Marketing anywhere. This is what you MUST do: 1. Order all 5 reports shown on the list below (you can't sell them if you don't order them). a. For each report, send $5.00 CASH, the NAME & NUMBER OF THE REPORT YOU ARE ORDERING, YOUR E-MAIL ADDRESS, and YOUR NAME & RETURN ADDRESS (in case of a problem) to the person whose name appears on the list next to the report. MAKE SURE YOUR RETURN ADDRESS IS ON YOUR ENVELOPE IN CASE OF ANY MAIL PROBLEMS! b. When you place your order, make sure you order each of the five reports. You will need all five reports so that you can save them on your computer and resell them. c. Within a few days you will receive, via e-mail, each of the five reports. Save them on your computer so they will be accessible for you to send to the 1,000's of people who will order them from you. 2. IMPORTANT-- DO NOT alter the names of the people who are listed next to each report, or their sequence on the list, in any way other than is instructed below in steps "a" through "g" or you will lose out on the majority of your profits. Once you understand the way this works, you'll also see how it doesn't work if you change it. Remember, this method has been tested, and if you alter it, it will not work. a. Look below for the listing of available reports. b. After you've ordered the five reports, take this advertisement and REM0VE the name and address under REPORT #5. This person has made it through the cycle and is no doubt counting their $46,000! Also, change the name of the company, the address, and the REM0VE e-mail address on the top of this document to your own. c. Move the name and address under REPORT #4 down to REPORT #5. d. Move the name and address under REPORT #3 down to REPORT #4. e. Move the name and address under REPORT #2 down to REPORT #3. f. Move the name and address under REPORT #1 down to REPORT #2. g. Insert your name/address in the REPORT #1 position. Please make sure you copy every name and address ACCURATELY! 3. Take this entire letter, including the modified list of names, and save it to your computer. Make NO changes to the instruction portion of this letter. Your cost to participate in this is practically nothing (surely you can afford $25). You obviously already have an Internet connection and e-mail is FREE! To assist you with marketing your business on the internet, the 5 reports you purchase will provide you with invaluable marketing INF0RMATION which includes how to send bulk e-mails, where to find thousands of free classified ads and much, much more. In addition you will be provided with INF0MATION on Internet Marketing Clubs such as INTERNET MARKETING RESOURCES(IMR): This is one the premiere internet marketing clubs on the INTERNET. This club provides a forum where internet marketers from all over the world can exchange ideas and secrets on Internet Marketing. In addition, members of this club are provided free internet marketing tools and services for the Do-Yourself-Internet-Marketer. They will provide you with free bulk e-mail software and up to 1,000,000 fresh e-mail addresses each week. This club will provide you with hundreds of free resources which include: How to obtain free web sites, how to obtain top rankings in search engines for your web-site, how to send bulk e-mail into AOL and Compuserve, how to market your products on newsgroups, free classified ads, electronic malls, bulletin boards, banner ads and much more. There are two primary methods of building your downline: METHOD #1: SENDING BULK E-MAIL Let's say that you decide to start small, just to see how it goes, and we'll assume you and all those involved send out only 2,000 programs each. Let's also assume that the mailing receives a 0.3\% response. Using a good list the response could be much better. Also, many people will send out hundreds of thousands of programs instead of 2,000. But continuing with this example, you send out only 2,000 programs. With a 0.3\% response, that is only 6 orders for REPORT #1. Those 6 people respond by sending out 2,000 programs each for a total of 12,000. Out of those 0.3\%, 36 people respond and order REPORT #2. Those 36 mail out 2,000 programs each for a total of 72,000. The 0.3\% response to that is 216 orders for REPORT #3. Those 216 send out 2,000 programs each for a 432,000 total. The 0.3\% response to that is 1,296 orders for REPORT #4. Those 1,296 send out 2,000 programs each for a 2,592,000 total. The 0.3\% response to that is 7,776 orders for REPORT #5. That's 7,776 $5 bills for you, CASH!!! Your total income in this example is $30 + $180 + $1,080+ $6,480 + $38,880 for a total of $46,650!!! REMEMBER FRIEND, THIS IS ASSUMING 1,994 OUT OF THE 2,000 PEOPLE YOU MAIL TO WILL DO ABSOLUTELY NOTHING AND TRASH THIS PROGRAM! DARE TO THINK FOR A MOMENT WHAT WOULD HAPPEN IF EVERYONE, OR HALF SENT OUT 100,000 PROGRAMS INSTEAD OF 2,000. Believe me, many people will do just that, and more! By the way, your cost to participate in this is practically nothing. You obviously already have an internet connection and e-mail is FREE!!! REPORT #2 and #5 will show you the best methods for bulk emailing, tell you where to obtain free bulk e-mail software and where to obtain e-mail lists and show you how to send out 1,000,000 e-mails for free. METHOD #2 - PLACING FREE ADS ON THE INTERNET 1. Advertising on the 'Net is very, very inexpensive, and there are HUNDREDS of FREE places to advertise. Let's say you decide to start small just to see how well it works. Assume your goal is to get ONLY 6 people to participate on your first level. (Placing a lot of FREE ads on the internet will EASILY get a larger response.) Also assume that everyone else in YOUR ORGANIZATION gets ONLY 6 downline members. Follow this example to achieve the STAGGERING results below. 1st level--your 6 members with $5 ($5 x 6)........................$30 2nd level--6 members from those 6 ($5 x 36)....................$180 3rd level--6 members from those 36 ($5 x 216)............ $1,080 4th level--6 members from those 216 ($5 x 1,296)....... $6,480 5th level-6 members from those 1,296 ($5 x 7,776)... $38,880 .................................................$46,650 _________________________________________________________________________ Remember friends, this assumes that the people who participate only recruit 6 people each. Think for a moment what would happen if they got 20 people to participate! Many people will get 100's of participants! THINK ABOUT IT! For every $5.00 you receive, all you must do is e-mail them the report they ordered. THAT'S IT! ALWAYS PROVIDE SAME-DAY SERVICE ON ALL ORDERS! This will guarantee that the e-mail THEY send out, with YOUR name and address on it, will be prompt because they can't advertise until they receive the report! _________________________________________________________________________ AVAILABLE REPORTS _________________________________________________________________________ *** Order Each REPORT by NUMBER and NAME *** Notes: ALWAYS SEND $5 CASH (U.S. CURRENCY) FOR EACH REPORT CHECKS NOT ACCEPTED ALWAYS SEND YOUR ORDER VIA FIRST CLASS MAIL Make sure the cash is concealed by wrapping it in at least two sheets of paper. On one of those sheets of paper, include: (a) the number & name of the report you are ordering (b) your e-mail address (So your report can come by email) (c) your name & postal address. **** Place your name in the 1st report. Move the rest of the names down causing whoever is in 5th position to go off the list.**** PLACE YOUR ORDER FOR THESE REPORTS NOW: ______________________________________________________ REPORT #1 "The Insider's Guide to Advertising for Free on the Internet" ORDER REPORT #1 FROM Ross Pawley 540 NW 2nd St. Apt7 Prineville, OR 97754 ______________________________________________________ REPORT #2 "The Insider's Guide to Sending Bulk E-mail on the Internet" ORDER REPORT #2 FROM: Spatter 2700 Waterview Pkwy. #4612 Richardson, TX 75080 __________________________________________________ REPORT #3 "The Secrets to Multilevel Marketing on the Internet" ORDER REPORT #3 FROM: Jamie Strickland P.o Box 253 Charlton Heights, WV 25040 ______________________________________________________ REPORT #4 "How to become a Millionaire utilizing the Power of Multilevel Marketing and the Internet" ORDER REPORT #4 FROM: Andrea Hataway 608 W. 8th St. Lancaster, TX 75146 ______________________________________________________ REPORT #5 "How to SEND 1,000,000 e-mails for FREE" ORDER REPORT #5 FROM: Robin Stice 690 Crespi Dr Pacifica, CA 94044 ______________________________________________________ ______________________________________________________ There currently more than 175,000,000 people online worldwide! ******* TIPS FOR SUCCESS ******* * TREAT THIS AS YOUR BUSINESS! Be prompt, professional, and follow the directions accurately. * Send for the five reports IMMEDIATELY so you will have them when the orders start coming in because: When you receive a $5 order, you MUST send out the requested product/report. * ALWAYS PROVIDE SAME-DAY SERVICE ON THE ORDERS YOU RECEIVE. * Be patient and persistent with this program. If you follow the instructions exactly, your results WILL BE SUCCESSFUL! * ABOVE ALL, HAVE FAITH IN YOURSELF AND KNOW YOU WILL SUCCEED! ******* YOUR SUCCESS GUIDELINES ******* Follow these guidelines to guarantee your success: If you don't receive 20 orders for REPORT #1 within two weeks, continue advertising or sending e-mails until you do. Then, a couple of weeks later you should receive at least 100 orders for REPORT#2. If you don't, continue advertising or sending e-mails until you do. Once you have received 100 or more orders for REPORT #2, YOU CAN RELAX, because the system is already working for you, and the cash will continue to roll in! THIS IS IMPORTANT TO REMEMBER: Every time your name is moved down on the list, you are placed in front of a DIFFERENT report. You can KEEP TRACK of your PROGRESS by watching which report people are ordering from you. If you want to generate more income, send another batch of e-mails or continue placing ads and start the whole process again! There is no limit to the income you will generate from this business! Before you make your decision as to whether or not you participate in this program. Please answer one question. DO YOU WANT TO CHANGE YOUR LIFE? If the answer is yes, please look at the following facts about this program: 1. YOU ARE SELLING A PRODUCT WHICH DOES NOT COST ANYTHING TO PRODUCE! 2. YOU ARE SELLING A PRODUCT WHICH DOES NOT COST ANYTHING TO SHIP! 3. YOU ARE SELLING A PRODUCT WHICH DOES NOT COST YOU ANYTHING TO ADVERTISE! 4. YOU ARE UTILIZING THE POWER OF THE INTERNET AND THE POWER OF MULTI-LEVEL MARKETING TO DISTRIBUTE YOUR PRODUCT ALL OVER THE WORLD! 5. YOUR ONLY EXPENSES OTHER THAN YOUR INITIAL $25 INVESTMENT IS YOUR TIME! 6. VIRTUALLY ALL OF THE INCOME YOU GENERATE FROM THIS PROGRAM IS PURE PROFIT! ******* T E S T I M O N I A L S ******* This program does work, but you must follow it EXACTLY! Especially the rule of not trying to place your name in a different position, it won't work and you'll lose a lot of potential income. I'm living proof that it works. It really is a great opportunity to make relatively easy money, with little cost to you. If you do choose to participate, follow the program exactly, and you'll be on your way to financial security. Fred Dellaca, Westport, New Zealand My name is Mitchell. My wife, Jody, and I live in Chicago, IL. I am a cost accountant with a major U.S. Corporation and I make pretty good money. When I received the program I grumbled to Jody about receiving "junk mail." I made fun of the whole thing, spouting my knowledge of the population and percentages involved. I "knew" it wouldn't work. Jody totally ignored my supposed intelligence and jumped in with both feet. I made merciless fun of her, and was ready to lay the old "I told you so" on her when the thing didn't work... well, the laugh was on me! Within two weeks she had received over 50 responses. Within 45 days she had received over $147,200 in $5 bills! I was shocked! I was sure that I had it all figured and that it wouldn't work. I AM a believer now. I have joined Jody in her "hobby." I did have seven more years until retirement, but I think of the "rat race" and it's not for me. We owe it all to MLM. Mitchell Wolf MD., Chicago, IL The main reason for this letter is to convince you that this system is honest, lawful, extremely profitable, and is a way to get a large amount of money in a short time. I was approached several times before I checked this out. I joined just to see what one could expect in return for the minimal effort and money required. To my astonishment, I received $36,470.00 in the first 14 weeks, with money still coming in. Sincerely yours, Pam Hedland Halmstad, Sweden Not being the gambling type, it took me several weeks to make up my mind to participate in this plan. But conservative that I am, I decided that the initial investment was so little that there was just no way that I wouldn't get enough orders to at least get my money back. I surprised when I found my medium-size post office box crammed with orders! For awhile, it got so overloaded that I had to start picking up my mail at the window. I'll make more money this year than any 10 years of my life before. The nice thing about this deal is that it doesn't matter where people live. There simply isn't a better investment with a faster return. Dan Sondstrom, Alberta, Canada I had received this program before. I deleted it, but later I wondered if I shouldn't have given it a try. Of course, I had no idea who to contact to get another copy, so I had to wait until I was e-mailed another program, 11 months passed then it came...I didn't delete this one!...I made more than $41,000 on the first try!! Mohamed, Cairo, Egypt This is my third time to participate in this plan. We have quit our jobs, and will soon buy a home on the beach and live off the interest on our money. The only way on earth that this plan will work for you is if you do it. For your sake, and for your family's sake don't pass up this golden opportunity. Good luck and happy spending! Sam Lee Suva, Fiji Islands ORDER YOUR REPORTS TODAY AND GET STARTED ON YOUR ROAD TO FINANCIAL FREEDOM! NOW IS THE TIME FOR YOUR TURN DECISIVE ACTION YIELDS POWERFUL RESULTS _________________________________________________________________________ PLEASE NOTE: If you need help with starting a business, registering a business name, learning how income tax is handled, etc., contact your local office of the Small Business Administration (a Federal agency) 1-(800)827-5722 for free help and answers to questions. Also, the Internal Revenue Service offers free help via telephone and free seminars about business tax requirements. Your earnings and results are highly dependant on your activities and advertising. This letter constitutes no guarantees stated nor implied. In the event that it is determined that this letter constitutes a guarantee of any kind, that guarantee is now void. Any testimonials or amounts of earnings listed in this letter may be factual or non-verifiable. If you have any question of the legality of this letter contact the Office of Associate Director for Marketing Practices Federal Trade Commission Bureau of Consumer Protection in Washington DC. ______________________________________________________________________ Under Bill s.1618 TITLE III passed by the 105th US Congress this letter cannot be considered spam as long as the sender includes contact information and a method of removal. To be Removed please reply to email with the words REMOVE in the subject area. From chrisf@fagmed.uit.no Fri Oct 12 09:14:40 2001 From: chrisf@fagmed.uit.no (Chris Fenton) Date: Fri, 12 Oct 2001 10:14:40 +0200 Subject: [Image-SIG] where is _imagingft for python21 Message-ID: <3BC6A66F.BB91C0CB@fagmed.uit.no> Where is the _imagingft module. It is called in the truetype method of ImageFont. Is this latest version stable ? Is there support for antialised fonts in PIL From lbates@syscononline.com Sat Oct 13 18:24:42 2001 From: lbates@syscononline.com (Larry Bates) Date: Sat, 13 Oct 2001 12:24:42 -0500 Subject: [Image-SIG] PIL is corrupting/inverting TIFF images Message-ID: <2C1A673A677CD311988E00902773A6DD35C3C5@qbert.syscon-computers.com> I am attempting to write a program that allows me to "annotate" TIFF images. I need to be able to read a TIFF image, add textual information to it and save it back out to a file as a G4 compressed image. I have located a program (NetPBM) that will take TIFF images and compress them as G4 images. I have written the following test program: -------------------- import os, tempfile, sys # install standard driver from PIL import Image # # Open and read the file # im = Image.open("c:\\SPC\\test.tif") # # Save it out # im.save("c:\\spc\\tempfile.tif", "TIFF") # # Call external program to save as compressed TIFF # os.system("c:\\NetPBM\\bin\\tiffcp -c g4 %s %s" % (infile, "c:\\spc\\output.tif")) ----------------------------------- This program runs, but when if completes the contents of the output file (c:\spc\output.tif) are inverted. Everything that should be black is white and everything that is white is black. I ran NetPBM's TIFFINFO routine and see the following output on the intermediate file (tempfile.tif) and the final output file (output.tif) C:\spc>tiffinfo test.tif TIFF Directory at offset 0x101024 Subfile Type: (0 = 0x0) Image Width: 2550 Image Length: 3300 Resolution: 300, 300 pixels/inch Bits/Sample: 1 Compression Scheme: None Photometric Interpretation: min-is-white Software: "Pixel Translations Inc., PIXTIFF Version 54.3.218.468" Orientation: row 0 top, col 0 lhs Samples/Pixel: 1 Rows/Strip: 3300 Planar Configuration: single image plane C:\spc>tiffinfo tempfile.tif TIFF Directory at offset 0x8 Image Width: 2550 Image Length: 3300 Compression Scheme: None Photometric Interpretation: min-is-black Rows/Strip: 3300 Planar Configuration: single image plane C:\spc>tiffinfo output.tif TIFF Directory at offset 0xc8c4 Image Width: 2550 Image Length: 3300 Compression Scheme: CCITT Group 4 Photometric Interpretation: min-is-black Rows/Strip: 25 Planar Configuration: single image plane As you can see the output from the im.save has changed the Photometric Interpretation to min-is-black (inverted??). The thing I don't understand is that if I open this file in a viewing program (Windows Imaging) it doesn't show up as inverted is shows up just fine (which is why this problem hasn't been discovered yet). It is only when I compress the file that it becomes inverted. If I use TIFFCP to compress test.tif directly (without going through PIL Image module), it works just fine. PIL Image module is doing something to the image. If I use TIFFCP to compress tempfile.tif to packbits it is NOT inverted (when I open in Windows Imaging), but Photometric Interpretation is min-is-black when I check with TIFFINFO. HELP, I have no idea what to try next. Regards, Larry Bates From Keila - Curitiba - Pr" Olá! Veja meu site pessoal no "Tripod.com.br". Basta clicar no endereço abaixo. GARANTO SER SUI-GENERIS - CLIQUE ABAIXO: http://pastorinha.tripod.com.br/seminarista Mais de 61.000 internautas visitaram a PG., existe 7 Álbuns: Se você quiser, por favor, indique minha Home Page, a outros Internautas. Mais detalhes, se comunique, passe um e-mail, que responderei brevemente. Dentro da Home Page, ao lado das fotos, você poderá saber muito mais sobre mim! Obrigada. e-mail: pastorinha@ieg.com.br Beijos:- Keila - Curitiba - Pr - Podes falar comigo, direto dela. Brevemente uma Carta Aberta. http://pastorinha.tripod.com.br/seminarista "Esta mensagem é enviada com a complacência da nova legislação sobre correio eletrônico, Seção 301, Parágrafo (a) (2) (c) Decreto S. 1618, Título Terceiro aprovado pelo "105º Congresso Base das Normativas Internacionais sobre o SPAM". Este E-mail não poderá ser considerado SPAM quando incluir uma forma de ser removido. Para ser removido de futuros correios, simplesmente responda indicando no Assunto: REMOVER" From hamish_lawson@yahoo.co.uk Sun Oct 14 21:18:51 2001 From: hamish_lawson@yahoo.co.uk (=?iso-8859-1?q?Hamish=20Lawson?=) Date: Sun, 14 Oct 2001 21:18:51 +0100 (BST) Subject: [Image-SIG] Accessing Photoshop layers in PIL? Message-ID: <20011014201851.52393.qmail@web11003.mail.yahoo.com> Is it possible to access the individual layers of a Photoshop image in PIL? By 'layers' I mean in Photoshop's sense - a stack of images that overlay each other like acetates to produce the composite image - rather than RGB or CYMK channels. Hamish Lawson ____________________________________________________________ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie From Richard A. Smith" Message-ID: How does one go about translating a color into the number that the fill= arguments wants? I can't seem to find any documentation or examples. the pythonware tutorial dosne't seem to cover it. I want to draw lines and text on a .jpg in a certain color. I went throught the PIL python source and found the reference to fill_ink() but I guess thats a function in the .dll? It dosesn't seem to be defined anywhere. I am about to go the the source for PIL and look through it but I wanted to ask here as well hopeing someone has a small HOW-TO or tutorial. -- Richard A. Smith Bitworks, Inc. rsmith@bitworks.com 501.846.5777 Sr. Design Engineer http://www.bitworks.com From skyplus@humanbelt.com Tue Oct 16 02:36:25 2001 From: skyplus@humanbelt.com (ÀÌâÈÆ) Date: Tue, 16 Oct 2001 10:36:25 +0900 (KST) Subject: [Image-SIG] hi Message-ID: <3BCB8F19.000001.22920@ns> --------------Boundary-00=_P4Z940MWKGMMYJ0CCJD0 Content-Type: Text/HTML Content-Transfer-Encoding: quoted-printable here is korea..i would like to your product(PIL)..



=C3=B5=BB=E7=C0=C7 =B4=AB=C0=BB =B0=A1=C1=F6=BC=BC=BF=E4!!
-----------------------------------------------------------------
=B8=B9=C0=BA =BB=E7=B6=F7=B5=E9=BF=A1=B0=D4 =BF=AC=B6=F4=C7=D8=BE=DF =C7=CF= =B4=C2 =BA=CE=B4=E3=B0=A8. =C8=DE=B8=D5=BA=A7=C6=AE=BF=A1=BC=AD =C7=D8=B0= =E1=C7=CF=BC=BC=BF=E4!
=BC=F6=C3=B5=B8=ED=BF=A1=B0=D4 =C0=BD=BC=BA,=B9=AE=C0=DA,=C6=D1=BD=BA,=C0= =CC=B8=DE=C0=CF=C0=BB =B4=DC =C7=D1=B9=F8=BF=A1 =C0=FC=BC=DB=C7=D2 =BC=F6= =C0=D6=BD=C0=B4=CF=B4=D9.
http://www.humanbelt.com
-----------------------------------------------------------------
--------------Boundary-00=_P4Z940MWKGMMYJ0CCJD0-- From fredrik@pythonware.com Tue Oct 16 08:27:22 2001 From: fredrik@pythonware.com (Fredrik Lundh) Date: Tue, 16 Oct 2001 09:27:22 +0200 Subject: [Image-SIG] Using ImageDraw colors? References: Message-ID: <00e001c15615$88b06c90$0900a8c0@spiff> Richard A. Smith wrote: > How does one go about translating a color into the number that the > fill= arguments wants? I can't seem to find any documentation or > examples. it's the same syntax as for new/paste etc: use a single integer (or float) for single-layer images, use a tuple for multi-layer images. From fredrik@pythonware.com Tue Oct 16 08:33:50 2001 From: fredrik@pythonware.com (Fredrik Lundh) Date: Tue, 16 Oct 2001 09:33:50 +0200 Subject: [Image-SIG] where is _imagingft for python21 References: <3BC6A66F.BB91C0CB@fagmed.uit.no> Message-ID: <00e201c15615$8b1fe5f0$0900a8c0@spiff> chris fenton wrote: > Where is the _imagingft module. > It is called in the truetype method of ImageFont. _imagingft is part of the PIL Plus package. From fredrik@pythonware.com Tue Oct 16 08:35:40 2001 From: fredrik@pythonware.com (Fredrik Lundh) Date: Tue, 16 Oct 2001 09:35:40 +0200 Subject: [Image-SIG] PIL 1.1.2 with Cygwin Python 2.1 References: <037801c14baa$30eac3e0$0200000a@holdenweb.com> Message-ID: <00e501c15615$8b7b9a80$0900a8c0@spiff> Steve Holden wrote: > PIL seems to build amazingly well for Cygwin, except that the _imagingtk > won't build: it seems to require Xlib.h, which isn't present on Windows. > > Is there any support of Tkinter backends under Cygwin? not sure, and no time for research right now. if you find out, let us know. thanks /F From fredrik@pythonware.com Tue Oct 16 08:32:56 2001 From: fredrik@pythonware.com (Fredrik Lundh) Date: Tue, 16 Oct 2001 09:32:56 +0200 Subject: [Image-SIG] PIL is corrupting/inverting TIFF images References: <2C1A673A677CD311988E00902773A6DD35C3C5@qbert.syscon-computers.com> Message-ID: <00e101c15615$8b0a8930$0900a8c0@spiff> Larry Bates wrote: > As you can see the output from the im.save has changed > the Photometric Interpretation to min-is-black (inverted??). > The thing I don't understand is that if I open this file in a > viewing program (Windows Imaging) it doesn't show up > as inverted is shows up just fine (which is why this > problem hasn't been discovered yet). It is only when I > compress the file that it becomes inverted. If I use TIFFCP > to compress test.tif directly (without going through PIL > Image module), it works just fine. PIL Image module is > doing something to the image. PIL is storing the image in a given format, and is setting the photometric interpretation tag accordingly. a TIFF reader should use this tag to figure out if/how to display the image. if there's a bug somewhere, it looks like it's in tiffcp. both PIL and Windows Imaging does the right thing. you might be able to work around this in TiffImagePlugin.py; look for the SAVE_INFO dictionary: SAVE_INFO = { # mode => rawmode, photometrics, sampleformat, bitspersample, extra "1": ("1", 1, 1, (1,), None), "L": ("L", 1, 1, (8,), None), and change the "1" line to look like this (untested): "1": ("1;I", 0, 1, (1,), None), From fredrik@pythonware.com Tue Oct 16 08:38:18 2001 From: fredrik@pythonware.com (Fredrik Lundh) Date: Tue, 16 Oct 2001 09:38:18 +0200 Subject: [Image-SIG] Imaging-1.1.2 probs on RH Linux 7.1 References: Message-ID: <00e901c15615$8bd72800$0900a8c0@spiff> Kip Lehman wrote: > dabox(me)[76]: export PYTHONPATH=".:./PIL" > dabox(me)[77]: /usr/local/bin/python PIL/piltest.py > i am done > Memory fault (core dumped) > Has anyone else seen and solved this sort of thing? did you get any further on this? generally, PIL seems to built just fine on most Linux flavours, and I cannot remember anyone else reporting anything similar (but my memory isn't what it used to be ;-) From fredrik@pythonware.com Tue Oct 16 08:40:40 2001 From: fredrik@pythonware.com (Fredrik Lundh) Date: Tue, 16 Oct 2001 09:40:40 +0200 Subject: [Image-SIG] PIL and The _imaging C module is not installed References: <2C1A673A677CD311988E00902773A6DD35C381@qbert.syscon-computers.com> Message-ID: <00ea01c15615$db0cddc0$0900a8c0@spiff> Larry Bates wrote: > When I try to do import _imaging (this was suggested from a message thread that > I located) I get: > > ImportError: DLL load failed: One of the library files needed to run this > application cannot be found. > > The _imaging.pyd file is in c:\python21\DLLs and that path is in my PYTHONPATH > environment variable. > > I downloaded and installed the 1.1.2-20010910 version of PIL and it didn't make > any difference. I'm complete stumped. ActiveState has shipped broken PIL kits before (a missing JPEG DLL), but I'm pretty sure they've fixed that by now. and the PythonWare distribution should definitely work. try running the Python interpreter with -vv to make sure it picks up the right version. From fredrik@pythonware.com Tue Oct 16 08:47:34 2001 From: fredrik@pythonware.com (Fredrik Lundh) Date: Tue, 16 Oct 2001 09:47:34 +0200 Subject: [Image-SIG] PIL.Image and binary data in SQL References: <000a01c1487c$afd59800$0b010c0a@ingeo.com> Message-ID: <00f701c15616$d55807f0$0900a8c0@spiff> klint price wrote: > Does anyone know how use the PIL.Image to read binary image > data from a database, create thumbnails, and out put the thumbnails > to the browser using a binarywrite, or something to that effect? > Using IIS5, MSSQL 7, and ASP. lots of people have written web gallery tools based on PIL; a google search should help you find plenty of sample code. the PIL parts could look something like this: import StringIO data = read_from_database() file = StringIO.StringIO(data) image = Image.open(file) image.thumbnail((128, 128)) outfile = StringIO.StringIO() image.save(outfile, "JPEG") data = outfile.getvalue() write_to_web_client(data) From office@tangfeng.org Tue Oct 16 09:44:50 2001 From: office@tangfeng.org (office@tangfeng.org) Date: Tue, 16 Oct 2001 16:44:50 +0800 Subject: [Image-SIG] Beijing Tangfeng Culture Exchange Centre Message-ID: This is a letter from Beijing,China, I apologize for disturbing you.If our information don't agree with your demand or make any trouble to you,please don't hesitate to write back to us,we will remove your email address from our list,we are very appreciated of it. Xiu Yuan Name: Beijing Tangfeng Culture Exchange Centre Address: No.210, Building 2, Party School of Beijing Municipal Government Committee,No.6 Chegongzhuang Street, Xicheng District,Beijing, China. Tel: 86-10-6800-1452 86-10-6800-3112 Fax: 86-10-6800-1452 Mobile Tel:13661361402 Homepage: Http://www.Tangfeng.org E-mail:Webmaster: postmaster@tangfeng.org VIP customers service: office@tangfeng.org Business customers service: business1@tangfeng.org business2@tangfeng.org xiuyuan@263.net.cn xiuyuan@tangfeng.org Dear Sir or Madam, Succeed!Hope!Ambition! Everybody who wants to do business in China,please contact with us .Here has a 1/4 population of the world,here has a wide market.With the development of economy and reformation ,there are too many opportunities in China.You know,China has succeeded in applying for holding the 2008 Olympic Sports Meeting .In the coming seven years,China must be the golden point in the world.It is full of competition in the 21th century.The international trade would be the large tendency.Mutual support and mutual aid is very necessary.Who can seize the chance ahead,who would be succeed.China is about to enter the WTO,then China will exert the enormous potential power.Welcome to invest in China.Welcome to cooperate with T&F.It is mutual beneficial for you and me.More and more people realize that China is not only the good manufacturing base,but also has the cheaper labour power.The scope of T&F can involve the computer,the industry ,heavy machines,petrochemical,textile ,communication,transportation,metals and so on.The mo T&F is a specialized credit and status inquiry company. T&F is in close contact and builds many cooperative relationships with agencies in China. These include agencies such as the Trade & Industry Administration Department of China, China Statistics Bureau, China national Economy Information Centre along with many others. We have many business economist specialists, along with our investigative and administrative staff constitute a special and all around investigation by us. We can find the information you need to perform your business. T&F will provide accurate and credible investigation data, which you need to create a nation-wide and comprehensive reference report.Please contact us for assistance with any of these matters. At the same time, we should be pleased to hear if you would grant us the sole agency for China or you would be our agency for your district if you want. T&F will be provide a piece of accurate and credible investigation data, which you want about achieving nation-wide and comprehensive reference report forever! Please visit our Homepage: http://www.tangfeng.org , write or e-mail to T&F promptly, if you are interested in it. T&F shall be pleased to render you any further services. God will help those who help themselves.Waiting for your reply. Very truly yours, Beijing Tangfeng Culture Exchange Center Xiu Yuan From Richard A. Smith" Message-ID: Any one have some modules that make python and PIL play with V4L2? I went through the vault but didn't see anything offhand. -- Richard A. Smith Bitworks, Inc. rsmith@bitworks.com 501.846.5777 Sr. Design Engineer http://www.bitworks.com From akuchlin@mems-exchange.org Tue Oct 16 16:09:05 2001 From: akuchlin@mems-exchange.org (Andrew Kuchling) Date: Tue, 16 Oct 2001 11:09:05 -0400 Subject: [Image-SIG] V4L2 Modules? In-Reply-To: ; from rsmith@bitworks.com on Tue, Oct 16, 2001 at 09:36:42AM -0500 References: <00e901c15615$8bd72800$0900a8c0@spiff> Message-ID: <20011016110905.G10678@ute.mems-exchange.org> On Tue, Oct 16, 2001 at 09:36:42AM -0500, Richard A. Smith wrote: >Any one have some modules that make python and PIL play with V4L2? I don't know of a V4L module. If you end up writing your own, the PXC-200 module at http://www.mems-exchange.org/software/pxc200/ may be useful as a starting point. --amk From Richard A. Smith" Message-ID: On Tue, 16 Oct 2001 11:09:05 -0400, Andrew Kuchling wrote: >On Tue, Oct 16, 2001 at 09:36:42AM -0500, Richard A. Smith wrote: >>Any one have some modules that make python and PIL play with V4L2? > >I don't know of a V4L module. If you end up writing your own, Looks like thats the direction I'm headed. >the PXC-200 module at http://www.mems-exchange.org/software/pxc200/ >may be useful as a starting point. Hey thanks.. That looks like a great starting point. I hadn't even considered using the SANE interface. -- Richard A. Smith Bitworks, Inc. rsmith@bitworks.com 501.846.5777 Sr. Design Engineer http://www.bitworks.com From lbates@syscononline.com Wed Oct 17 17:52:45 2001 From: lbates@syscononline.com (Larry Bates) Date: Wed, 17 Oct 2001 11:52:45 -0500 Subject: [Image-SIG] PIL is unable to identify TIFF image file Message-ID: <2C1A673A677CD311988E00902773A6DD35C3E9@qbert.syscon-computers.com> I have some TIFF files that I wish to process using PIL. Whenever I attempt to open the file with Image.open I get the following traceback message. Traceback (most recent call last): File "c:\python21\pythonwin\pywin\framework\scriptutils.py", line 301, in RunScript exec codeObject in __main__.__dict__ File "F:\phil\python\TIFF2JPG.py", line 78, in ? im=Image.open(os.path.join(inputpath,file+ext)).rotate(rotate) File "PIL\Image.py", line 960, in open IOError: cannot identify image file ------------------------- I can work with the file in Windows Imaging, PaintShop Pro, PhotoShop, etc. so the image appears to be a OK. If I open in PhotoShop and save, then the image can be opened with PIL. Any suggestions anyone? I can send the TIF file to you if you want. Here is info from TIFFINFO program about the file: F:\phil\junk>c:tiffinfo f:001008.tif TIFF Directory at offset 0x8 Subfile Type: (0 = 0x0) Image Width: 2469 Image Length: 3932 Resolution: 800, 800 pixels/inch Bits/Sample: 4 Compression Scheme: LZW Photometric Interpretation: min-is-black FillOrder: msb-to-lsb Artist: "1992 ACCUSOFT INC, ALL RIGHTS RESERVED" Date & Time: "11-24-1992" Orientation: row 0 top, col 0 lhs Samples/Pixel: 1 Rows/Strip: 6 Planar Configuration: single image plane Thanks in advance, Larry Bates From Richard A. Smith" Message-ID: ImageDraw.text seems to remove all spaces in the string I send it. Is this intentional? Examples: Draw.text((0,0),'Distance=%4.2f inches' % (self.Length*self.Scale),font=Font,fill = self.LineColorRGB) Yeilds: 'Distance=3.45inches' Draw.text((0,0),'Space test a',font=Font,fill = self.LineColorRGB) Yeilds: 'Spacetesta' I am using PIL 1.1.2 with python 2.1.1 loading up the 'Arial_10_72' from the prebuild font package I found searching in the archives. -- Richard A. Smith Bitworks, Inc. rsmith@bitworks.com 501.846.5777 Sr. Design Engineer http://www.bitworks.com From kipster@americanisp.net Thu Oct 18 14:37:30 2001 From: kipster@americanisp.net (Kip Lehman) Date: Thu, 18 Oct 2001 07:37:30 -0600 Subject: [Image-SIG] Re: Imaging-1.1.2 probs on RH Linux 7.1 Message-ID: <3BCEDB1A.47B1F497@americanisp.net> It turns out that Imaging is not the cause of the core dump. This sort of thing turned up later with Numeric and DCOracle. After going through a sequence of building python with different config options and modules, it turns out that building python using the --with-pymalloc config option is the offending case. I was able to establish this on both a RH 7.1 box and a Mandrake 8.x installation. Strangely, though the option has no ill effect on a Solaris 2.6 installation. After building python without using the --with-pymalloc config option on the Linux boxes, everything works as desired. As a result, the use of PIL is being used to exert incredible pressure on an external vendor to match functionality developed in 3 days using PIL. The vendor has already taken 3+ weeks to come up with 40% of the functionality. A big tip o' the hat to Python/PIL! "Kip Lehman" From wtoconnor@mmrsoftware.com Thu Oct 18 23:39:46 2001 From: wtoconnor@mmrsoftware.com (Bill OConnor) Date: Thu, 18 Oct 2001 15:39:46 -0700 Subject: [Image-SIG] FITS data format. Message-ID: <000c01c15825$c9ed4950$4f0311ac@Nasubi> This is a multi-part message in MIME format. ------=_NextPart_000_000D_01C157EB.1D8E7150 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello, I'm trying to write a module to import a FITS data format. First: A module already exists but it uses c library routines to do the reading. I'd like to do it in pure python to avoid any porting issues. The main issue I see is that floats are stored in binary form and I don't see how I would read them into a python object. If anyone knows how to do this please let me know. Second: If such a module already exists and I haven't found it please tell me. Thanks, Bill ------=_NextPart_000_000D_01C157EB.1D8E7150 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello,

 

I’m trying to write a module to import a FITS = data format.

 

First: A module already exists but it uses c library routines to do the reading.  = I’d like to do it in pure python to avoid any porting issues. The main issue = I see is that floats are stored in binary form and I don’t see how I would = read them into a python object.  = If anyone knows how to do this please let me know.

 

Second: If such a module already exists and I = haven’t found it please tell me.

 

Thanks,

Bill

------=_NextPart_000_000D_01C157EB.1D8E7150-- From hughett@mercur.uphs.upenn.edu Fri Oct 19 14:46:47 2001 From: hughett@mercur.uphs.upenn.edu (Paul Hughett) Date: Fri, 19 Oct 2001 09:46:47 -0400 Subject: [Image-SIG] FITS data format. In-Reply-To: <000c01c15825$c9ed4950$4f0311ac@Nasubi> (wtoconnor@mmrsoftware.com) References: <000c01c15825$c9ed4950$4f0311ac@Nasubi> Message-ID: <200110191346.f9JDklL03188@mercur.uphs.upenn.edu> "Bill OConnor" has written: > I'm trying to write a module to import a FITS data format. > First: A module already exists but it uses c library routines to do the > reading. I'd like to do it in pure python to avoid any porting issues. > The main issue I see is that floats are stored in binary form and I > don't see how I would read them into a python object. If anyone knows > how to do this please let me know. > Second: If such a module already exists and I haven't found it please > tell me. Try the struct module, which--I believe--comes with the standard Python install. Paul Hughett From fredrik@pythonware.com Sat Oct 20 16:43:02 2001 From: fredrik@pythonware.com (Fredrik Lundh) Date: Sat, 20 Oct 2001 17:43:02 +0200 Subject: [Image-SIG] Accessing Photoshop layers in PIL? References: <20011014201851.52393.qmail@web11003.mail.yahoo.com> Message-ID: <007401c1597d$f2f59790$ced241d5@hagrid> This is a multi-part message in MIME format. ------=_NextPart_000_006D_01C1598E.AACE7610 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hamish Lawson wrote: > Is it possible to access the individual layers of a Photoshop image in > PIL? By 'layers' I mean in Photoshop's sense - a stack of images that > overlay each other like acetates to produce the composite image - > rather than RGB or CYMK channels. PIL 1.1.2 only loads the first channel. I've attached a rewritten PsdImagePlugin which allows you to use the seek/tell methods to select which channel to load: im = Image.open("spam.psd") im.seek(2) # get third channel layer3 = im.copy() I've tested this code on exactly one sample; let me know if it works for your images. ------=_NextPart_000_006D_01C1598E.AACE7610 Content-Type: application/octet-stream; name="PsdImagePlugin.py" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="PsdImagePlugin.py" # # The Python Imaging Library # $Id: //modules/pil/PIL/PsdImagePlugin.py#3 $ # # Adobe PSD 2.5/3.0 file handling # # History: # 1995-09-01 fl Created # 1997-01-03 fl Read most PSD images # 1997-01-18 fl Fixed P and CMYK support # 2001-10-20 fl Added seek/tell support (for channels) # # Copyright (c) 1997-2001 by Secret Labs AB. # Copyright (c) 1995-2001 by Fredrik Lundh # # See the README file for information on usage and redistribution. # __version__ = "0.4" import string import Image, ImageFile, ImagePalette MODES = { 0: "1", 1: "L", 2: "P", 3: "RGB", 4: "CMYK", 7: "L", 8: "L", 9: "LAB" } # # helpers def i16(c): return ord(c[1]) + (ord(c[0])<<8) def i32(c): return ord(c[3]) + (ord(c[2])<<8) + (ord(c[1])<<16) + (ord(c[0])<<24) # --------------------------------------------------------------------. # read PSD images def _accept(prefix): return prefix[:4] == "8BPS" class PsdImageFile(ImageFile.ImageFile): format = "PSD" format_description = "Adobe Photoshop" def _open(self): read = self.fp.read # # header s = read(26) if s[:4] != "8BPS" or i16(s[4:]) != 1: raise SyntaxError, "not a PSD file" bits, channels = i16(s[22:]), i16(s[12:]) # FIXME: check number of bits self.mode = MODES[i16(s[24:])] self.size = i32(s[18:]), i32(s[14:]) # # color mode data size = i32(read(4)) if size: data = read(size) if self.mode == "P" and size == 768: self.palette = ImagePalette.raw("RGB;L", data) # # image resources self.resources = [] size = i32(read(4)) if size: # load resources end = self.fp.tell() + size while self.fp.tell() < end: signature = read(4) id = i16(read(2)) name = read(ord(read(1))) if not (len(name) & 1): read(1) # padding data = read(i32(read(4))) if (len(data) & 1): read(1) # padding self.resources.append((id, name, data)) # # layer and mask information size = i32(read(4)) if size: self.fp.seek(size, 1) # ignored, for now # # image descriptor self.channels = [] compression = i16(read(2)) if compression == 0: # # raw compression offset = self.fp.tell() for channel in range(channels): tile = [] for layer in self.mode: if self.mode == "CMYK": layer = layer + ";I" tile.append(("raw", (0,0)+self.size, offset, layer)) offset = offset + self.size[0]*self.size[1] self.channels.append(tile) elif compression == 1: # # packbits compression i = 0 bytecount = read(channels * self.size[1] * 2) offset = self.fp.tell() for channel in range(channels): tile = [] for layer in self.mode: if self.mode == "CMYK": layer = layer + ";I" tile.append( ("packbits", (0,0)+self.size, offset, layer) ) for y in range(self.size[1]): offset = offset + i16(bytecount[i:i+2]) i = i + 2 self.channels.append(tile) # keep the file open self.fp2 = self.fp self.seek(0) def seek(self, channel): try: self.fp = self.fp2 self.tile = self.channels[channel] self.frame = channel except: raise EOFError, "no such channel" def tell(self, channel): return self.frame # -------------------------------------------------------------------- # registry Image.register_open("PSD", PsdImageFile, _accept) Image.register_extension("PSD", ".psd") ------=_NextPart_000_006D_01C1598E.AACE7610-- From hamish_lawson@yahoo.co.uk Sat Oct 20 21:25:14 2001 From: hamish_lawson@yahoo.co.uk (=?iso-8859-1?q?Hamish=20Lawson?=) Date: Sat, 20 Oct 2001 21:25:14 +0100 (BST) Subject: [Image-SIG] Accessing Photoshop layers in PIL? In-Reply-To: <007401c1597d$f2f59790$ced241d5@hagrid> Message-ID: <20011020202514.45498.qmail@web11001.mail.yahoo.com> --0-1132328652-1003609514=:43173 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Disposition: inline Fredrik Lundh wrote: > PIL 1.1.2 only loads the first channel. I've attached a > rewritten PsdImagePlugin which allows you to use the > seek/tell methods to select which channel to load: > > im = Image.open("spam.psd") > > im.seek(2) # get third channel > layer3 = im.copy() > > I've tested this code on exactly one sample; let me know > if it works for your images. Thanks for taking the trouble, Fredrik. Unfortunately I'm getting the following error report (when I set Image.DEBUG to 2): Traceback (most recent call last): File "C:\Python21\PIL\ImageFile.py", line 69, in __init__ self._open() File "C:\Python21\PIL\PsdImagePlugin.py", line 145, in _open offset = offset + i16(bytecount[i:i+2]) File "C:\Python21\PIL\PsdImagePlugin.py", line 39, in i16 return ord(c[1]) + (ord(c[0])<<8) IndexError: string index out of range Traceback (most recent call last): File "C:\WINDOWS\Desktop\test_layers.py", line 5, in ? image = Image.open("test.psd") File "C:\Python21\PIL\Image.py", line 960, in open raise IOError, "cannot identify image file" IOError: cannot identify image file I've attached the (small) test.psd file I used. (This was actually generated by Paint Shop Pro 7, as I don't actually have Photoshop, but I did get the same error with other files that *have* been generated by Photoshop - so I don't think it's because Paint Shop Pro might be writing invalid PSD files.) Regards, Hamish Lawson ____________________________________________________________ Nokia Game is on again. Go to http://uk.yahoo.com/nokiagame/ and join the new all media adventure before November 3rd. --0-1132328652-1003609514=:43173 Content-Type: application/octet-stream; name="test.psd" Content-Transfer-Encoding: base64 Content-Description: test.psd Content-Disposition: attachment; filename="test.psd" OEJQUwABAAAAAAAAAAMAAAAyAAAAMgAIAAMAAAAAAAADRjhCSU0EBAAAAAAA FBwCAAACAAIcAjcACDIwMDExMDIwOEJJTQQMAAAAAALeAAAAAQAAADIAAAAy AAAAmAAAHbAAAALBABgAAf/Y/+AAEEpGSUYAAQEAASwBLAAA/9sAQwAFAwQE BAMFBAQEBQUFBgcMCAcHBwcPCwsJDBEPEhIRDxERExYcFxMUGhURERghGBod H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RefpayyuL7Eys/RzcbAurOspJyWkIyJ h4b/hf6EAIX5hPWZGJ+lrLK4v8XL0dTQysXAuLCooJmTjoqHhoX0hPWZGJ+l rLK4v8XL0tbTz8nDvbWspJ2Vj4uIhoX0hPWZGJ+lrLK4v8XL0tfV0s3Hv7ew qJ+XkYyJhoX0hPWZGZ+lrLK4v8XL0tjX087JwrqyqqCYko2Kh4aF+4T9g/+E 9ZkZn6Wssri+xMrQ1tfTzsnDvLStopqUj4yJh4b/hf2E/YP/hPWZGp6kqrC3 vMHGzNLU09DKxL63sKaelpGNi4iHhv6F/4T8gwCE9Zkbm6CmrbO5v8TKz9HS 0czGwLmxqKGalJCNiomHhv+F/oT+g/+E9ZkKmp+lq7G3vMHGy8//zhDMyMG6 tayjnJeSj4yKiYeGhf2EAIP+hPWZHpqepKmus7i9w8fKy8rJx8K9t66mn5mV kY6MioiHhoX6hPSZCpugpaqwtLm/w8bJ/8cQxMC9ubGpopyYlJGOjIqIh4b+ hQCE/oX0mQmanaGmrLG2ub3B/8MQxMK+urazq6Wgm5aTkI6LiYf/hvyFAIY= --0-1132328652-1003609514=:43173-- From fredrik@pythonware.com Mon Oct 22 11:09:26 2001 From: fredrik@pythonware.com (Fredrik Lundh) Date: Mon, 22 Oct 2001 12:09:26 +0200 Subject: [Image-SIG] PIL is unable to identify TIFF image file References: <2C1A673A677CD311988E00902773A6DD35C3E9@qbert.syscon-computers.com> Message-ID: <001101c15ae1$a47a1450$0900a8c0@spiff> larry wrote: > I have some TIFF files that I wish to process using PIL. > Whenever I attempt to open the file with Image.open I > get the following traceback message. > > Traceback (most recent call last): > File "c:\python21\pythonwin\pywin\framework\scriptutils.py", line 301, in > RunScript > exec codeObject in __main__.__dict__ > File "F:\phil\python\TIFF2JPG.py", line 78, in ? > im=Image.open(os.path.join(inputpath,file+ext)).rotate(rotate) > File "PIL\Image.py", line 960, in open > IOError: cannot identify image file > > ------------------------- > I can work with the file in Windows Imaging, PaintShop > Pro, PhotoShop, etc. so the image appears to be a OK. > > If I open in PhotoShop and save, then the image can > be opened with PIL. Any suggestions anyone? I can > send the TIF file to you if you want. I could probably figure it out from the TIFFINFO output, but it's easier to work with a copy of the offending file. So if you have the time... (send it to me directly, not to the list) thanks /F From Barrett@stsci.edu Tue Oct 23 22:35:55 2001 From: Barrett@stsci.edu (Paul Barrett) Date: Tue, 23 Oct 2001 17:35:55 -0400 Subject: [Image-SIG] FITS data format. References: <000c01c15825$c9ed4950$4f0311ac@Nasubi> Message-ID: <3BD5E2BB.9000002@STScI.Edu> Bill OConnor wrote: > > I?m trying to write a module to import a FITS data format. > > First: A module already exists but it uses c library routines to do > the reading. I?d like to do it in pure python to avoid any > porting issues. The main issue I see is that floats are stored in > binary form and I don?t see how I would read them into a python > object. If anyone knows how to do this please let me know. > > > Second: If such a module already exists and I haven?t found it > please tell me. We're in the process of developing such a module. We intend to release a beta version in November. This module will use a new version of Numeric for accessing the data in image and binary table extensions. I'll post an anouncement when it is ready. -- Paul -- Paul Barrett, PhD Space Telescope Science Institute Phone: 410-338-4475 ESS/Science Software Group FAX: 410-338-4767 Baltimore, MD 21218 From palisade@users.sourceforge.net Fri Oct 26 10:08:51 2001 From: palisade@users.sourceforge.net (Nelson Rush) Date: Fri, 26 Oct 2001 04:08:51 -0500 Subject: [Image-SIG] PIL not loading jpeg decoder Message-ID: I've tried everything I can think of to get the Jpeg decoder to function under PIL, but I've yet to get it working. Can you tell me what I'm doing wrong? Thanks. Python 2.0 (#1, Oct 18 2000, 13:16:26) [GCC egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)] on linux2 Type "copyright", "credits" or "license" for more information. >>> import os,sys >>> import _imaging >>> import Image >>> import JpegImagePlugin >>> Image._initialized=1 >>> Image.init() >>> im = Image.open("face.jpg").save("testing.jpg") Traceback (most recent call last): File "", line 1, in ? File "/usr/home2/palisade/PIL/PIL/Image.py", line 709, in save self.load() File "/usr/home2/palisade/PIL/PIL/ImageFile.py", line 140, in load d = Image._getdecoder(self.mode, d, a, self.decoderconfig) File "/usr/home2/palisade/PIL/PIL/Image.py", line 243, in _getdecoder raise IOError, "decoder %s not available" % decoder_name IOError: decoder jpeg not available Sincerely, Nelson Rush “To make available for life every place where life is possible. To make inhabitable all worlds as yet uninhabitable, and all life purposeful." -- Hermann Oberth From fredrik@pythonware.com Fri Oct 26 10:40:01 2001 From: fredrik@pythonware.com (Fredrik Lundh) Date: Fri, 26 Oct 2001 11:40:01 +0200 Subject: [Image-SIG] PIL not loading jpeg decoder References: Message-ID: <015e01c15e02$2ff25240$0900a8c0@spiff> Nelson Rush wrote: > I've tried everything I can think of to get the Jpeg decoder to function > under PIL, but I've yet to get it working. it's a build problem; the _imaging module must be linked with the libjpeg library. check your configuration (if necessary, tweak libImaging/ImConfig.h and Setup by hand) From BRIOTTET@chartreuse.cea.fr Mon Oct 29 12:37:39 2001 From: BRIOTTET@chartreuse.cea.fr (BRIOTTET Laurent 138044) Date: Mon, 29 Oct 2001 13:37:39 +0100 Subject: [Image-SIG] using font in PIL? Message-ID: <3A416994103CD4119FAC0008C71E6BC62E3A00@dtamail.ceng.cea.fr> dear all, I am using PIL to create images (under windows). I now would like to write text on these images using the text method in ImageDraw. Where could I find an example explaining how to get a font usefull for PIL ? thanks in advance, -------------------------------------------------------------------- Laurent Briottet CEA/G DRT/DTEN/SMP 17 rue des martyrs 38054 Grenoble cedex 9 France Tel : (33) 4 38 78 33 15 - Fax : (33) 4 38 78 58 91 e-mail : laurent.briottet@cea.fr -------------------------------------------------------------------- From richard@starfighter.freeuk.com Wed Oct 31 18:50:07 2001 From: richard@starfighter.freeuk.com (Richard Townsend) Date: Wed, 31 Oct 2001 18:50:07 -0000 Subject: [Image-SIG] Display Image from ImageDraw Message-ID: I would like to generate an image directly from data and then display that image on a Tkinter Canvas or Label. When I try to do this, I get an error saying the image doesn't exist. However I can save that image to a file and display it Paint Shop Pro and xv. Here is a simplified example: from Tkinter import * import Image, ImageDraw root = Tk() img = Image.new("RGB", (100, 100)) draw = ImageDraw.Draw(img) draw.rectangle((10,10,90,90), outline=(255,255,255)) del draw label = Label(root, image=img) label.pack() root.mainloop() Here's the error: D:\Development\Python\exp\exp\pil>python pil_draw.py Traceback (most recent call last): File "pil_draw.py", line 14, in ? label = Label(root, image=img) File "c:\python21\lib\lib-tk\Tkinter.py", line 2261, in __init__ Widget.__init__(self, master, 'label', cnf, kw) File "c:\python21\lib\lib-tk\Tkinter.py", line 1756, in __init__ self.tk.call( TclError: image "" doesn't exist I am getting similar errors on Win98 and Linux. Is there a way to do this ? regards Richard Townsend From fredrik@pythonware.com Wed Oct 31 19:40:09 2001 From: fredrik@pythonware.com (Fredrik Lundh) Date: Wed, 31 Oct 2001 20:40:09 +0100 Subject: [Image-SIG] Display Image from ImageDraw References: Message-ID: <004801c16244$28303270$ced241d5@hagrid> Richard Townsend wrote: > I would like to generate an image directly from data and then display that > image on a Tkinter Canvas or Label. When I try to do this, I get an error > saying the image doesn't exist. > TclError: image "" doesn't exist to register the image with Tk, you must wrap it in an ImageTk.PhotoImage object. from Tkinter import * import Image, ImageDraw, ImageTk root = Tk() img = Image.new("RGB", (100, 100)) draw = ImageDraw.Draw(img) draw.rectangle((10,10,90,90), outline=(255,255,255)) del draw > photo = ImageTk.PhotoImage(img) > label = Label(root, image=photo) > label.photo = photo # keep a reference label.pack() root.mainloop() regards /F