OEM Software

February 24th, 2010 by bieberlar

FREE: "Old Toy Camera" Photoshop Action by Dave Ward Photography

adobe suite cheap

Some advanced tools are easy to use and fun with Adobe's Photoshop Elements 4.0. Here's a quick guide to what some of these tools do.

The Magic Wand tool will select pixels in a similar color range to the ones you click on your picture. This tool is great for erasing large areas of an image that is very similar in color. I used it in my example photo to erase the clouds of the picture. I clicked on the wand tool and then clicked an area that was basically all clouds. I then got a dotted line outlining most of the clouds in the sky, then erased them using my delete button.

After the clouds are gone you can fill the dotted area using the eyedropper tool and the paint filler, or bucket. Click on the eye dropper tool and then click on a portion of the sky that is the color you want the rest to be. Looking at the color selection at the lower left of the window you can see what the color will be when you use it. Clicking on this box will bring up a window that allows you to alter or change the color. Now click on the Paint Bucket Tool and then move the bucket into the dotted area and click. It will fill the area with that color, you then use the brush tool with to smooth and fill in the color on the rest of the areas that did not get erased.

To remove the dotted lines of your selected area you have to be in the Magic Wand selection, click on the Magic Wand tool and then right click anywhere to get rid of the dotted lines. You then click on the brush and color in the areas of clouds that you did not get rid of with the Magic Tool.

The Magic Want Selection Tool is a handy and easy way to select one particular color in the picture, but beware that you only have that color of the thing you want to get rid of or alter in the area you want to be altering. This will choose any of the same colors in the entire picture. For instance if you have a picture with a person wearing a white shirt with clouds in the background and you choose the clouds to get rid of them, the shirt may also be chosen if the color is close to the one you picked.

If you want to pick and choose an area with a similar color and only in that part of the picture you would use the Magic Selection Brush Tool. This tool picks the area that is similar based not only on color but on texture to the areas near it. You can use this brush to paint the sky, not having to be careful of getting close to the trees and such of the border and it will automatically select the entire sky. You can then select a color and fill in the area to create your own sky color. You can use this tool to change the color of objects easily and quickly.

The brush shows the color that you use to see what you are selecting, let's say someones shirt. You can change the color of the brush to anything else if it is too similar to what you are working on by using the toolbar at the top of the window. Clicking on the color block will pop up a color chart and you can choose a different color for the brush that helps you see the area you are choosing.

When you paint in an area using the brush you will have a dotted line on the edges of the areas that are similar in color and texture. Using the brush you don't have to get real close to the edges, just paint any areas that are similar with a quick line of the brush. You can then delete that color and area and fill in with another, changing someones shirt color easily. You can alter the color using the color fill and the opacity settings by just filling over the original color and having the opacity set somewhere below 100%. With this method you can tone down a too bright shirt and not alter any of the rest of a picture.

The Lasso, Polygon Lasso and Magnetic Lasso Tool is other useful tools that selects areas using a drawn line that follows either the brush you are using or snaps to the objects that you select depending on which feature you select. These tools are very useful but hard to use and takes a lot of practice. This is one of those advanced features that takes a lot of patience and practice to become adept at. Using these tools in conjunction with the features of the tools you can select objects that have varying colors and textures to alter or edit them. This is handy for things like selecting something like a basket with a bottle of wine in it that would be different textures and colors.

The Spot Healing Brush is another very easy to use tool but is one that takes patience to use. This brush replaces the color and texture with one that is appropriate to the one that yo choose using either of the options of the tool. If you choose Proximity Match it will color over the area of the brush with the color and texture that is near it. This is useful to hide or color over blemishes or other unwanted features on people skin. If you select Create Texture the tool will automatically use the colors under the brush to make a color and texture to replace the ones there. Another very useful function of this tool is to cover over distracting portions of a picture. I have pictures of my son we are going to use for his Senior Portraits. One has him sitting on a tree and there are some large brighter and darker colored areas and knots on the tree that is somewhat distracting. Using this healing tool you can get rid of those areas and replace them with colors and like textures that are of the bark near the areas we want to replace. This quickly and easily replaces those areas you don't want on a photo with the colors and textures near by or with ones created like the ones they are replacing.

Two other handy tools are the Blur and Dodge tools. The blur tool does just that, blurs the area under the brush at the strength that is selected at the top of the window. The size and the strength can be changed along with some other features like whether you want to darken or lighten the blur or if you want to change the color or other features like this. Blur is nice to use to highlight a person or object in a photo and make the background less busy. If the subject of your photo is in a busy background or if the colors in the background are similar to the ones of your subject you might want to blur the background to make the subject stand out more.

The Dodge tool is also a handy tool to change certain areas of a photo and keep the original texture and color, only lighten or darken the area. If you want to darken or lighten an area you would simply use this tool and paint the area. Using the brush size for the control to color the areas and dodge to lighten or burn to darken you can color an area of a photo to lighten or darken it. This is handy when an area of a picture is in shadow but you don't want it to be or if you want to create a shadow area.

The Sponge tool is a very similar tool that changes the color saturation of an area. This will make colors appear brighter or darker without coloring over them with a white or black as in the Dodge Tool. This is handy for toning down a color or brightening one without changing the actual color. The Dodge Tool changes the color of the object by adding or taking away from the color using black and white. The Sponge tool uses the same color only it moves up and down the color scale depending on whether you are brightening or darkening.

These tools are handy ways to edit and fix photos and make the subject in your photo stand out. They also help you separate your subject so you can work on areas that need to be altered without changing other parts of your photo. Adobe's Photoshop Elements comes with many handy tools to help you make the most of your digital imaging.

January 28, 2010

Free eSeminars: Learn Acrobat Online

The always suave Mark Middleton and I will be hitting the "interwebz" for a series of educational eSeminars over next few months.

Not all of these eSeminars are legal-specific, but many of them offer content that may be of interest.

  • All eSeminars are FREE
  • 1-hour long
  • Register Online for as many as you want

Remains of the Day: Malicious PDFs to Blame for 80% of Adobe Exploits Edition

Skype is on its way to Verizon, we take a look at what magazines may look like when they transition to tablets, and a study shows that 80% of successful malware exploits found their way to computers via Adobe Reader/Acrobat flaws.

  • Report: Malicious PDF files comprised 80 percent of all exploits for 2009
    Yep: 80% of Adobe exploits in 2009 had Adobe Reader and Acrobat to blame. Yikes.
  • The Wired Tablet App: A Video Demonstration
    Wired demos what a magazine may look like in an age of tablets.
  • Redbox Cuts Deal With Warner; Agrees To 28-Day Window
    The movie industry is doing everything it can to make people buy DVDs before they're able to rent them, and we, the consumer, keep losing. [Tech Trader Daily]
  • Verizon Smartphones Score Unlimited Skype-to-Skype Calling
    Great news for Verizon customers who make the occasional international call.
  • Google Goggles Getting OCR Translations
    Previously mentioned Google Goggles will soon recognize text and translate it. Hello future!

Send an email to Adam Pash, the author of this post, at tips+adam@lifehacker.com.

cheap software

Marlboro

February 6th, 2010 by bieberlar

Kurdish Marlboro Man. by gustaf wallen

I am schedule to teach two martial arts classes on Saturday and I must prepare. I am a third degree black belt in Tang Soo Do. I train and teach at the Upper Marlboro Martial Arts Center in Upper Marlboro, Maryland. Stop by sometime and Master Baylor will be happy to give you a free class.

There are several things I mention in every class. Martial arts is not just about punching and kicking; there is a lot more to it than that. Some of these things I have mentioned in other articles I have written. Please check the URLs at the end of this article for more details.

Focus

This is also called being in the now. It means to put your mental energy into what you are doing at the present time. The analogy I use in class is of a knife and a hammer. The knife can cut a sandwich but a hammer can't. The reason is the knife focuses all of the energy onto the thin blade. So much energy in so little space cuts the sandwich. A hammer spreads the energy out in all directions over the hammerhead. The energy is not focused and the sandwich will not be cut. In class the students should focus their energy on martial arts and forget about other things for an hour.

Logic

Martial arts can be thought about logically. Intellect is the best weapon in a martial artist's arsenal. Knowing how the world and the body works will make all of the martial arts techniques understandable. The student can see why the techniques work the way they do. If you hold your right arm out in front of you palm down and turn your hand clockwise your elbow will naturally bend. If you turn your hand counter clockwise your elbow will naturally lock. If someone grabs your wrist; grasping their hand and turning it counter clockwise will lock the elbow and put you in the advantage.

Another part of the logic is, understanding basic physics. For every action there is an equal and opposite reaction. I teach the students that a punch is thrown with the entire body and especially with both arms. As the punching arm shoots out, the opposite arm fires back in an elbow strike to the rear. It greatly increases the strength of the strike.

Momentum is a friend of the martial artist. Understanding direct momentum and angular momentum allow you to understand what is termed as the soft sided techniques of martial arts. When a punch is thrown at you, your opponent is committing most of his or her energy in the forward thrust. Stepping to the side and guiding the energy past you will leave your opponent off balance and vulnerable. If you can hook the arm and turn in a tight circle, that angular momentum will increase your opponents speed and further degrade their balance and a fall will be inevitable.

Run Away

We have a lot of children in our classes and we like to stress the real reason for marital arts. We teach them techniques that hopefully will allow them to escape an attacker and run away. I tell them, “Run away and call a cop; they get paid to do that sort of thing.” I stress that, unless you have to protect someone, you need to get away. You are not there to smite the wicked. You are not there to see that justice prevails. You are there to do your best not to be there. Perform a technique that gets your free, strike once to slow down your attacker, and then run away.

We have a good group of children and adults in the classes. I've watched kids come in at age eight or nine and no taller than my ribs become strong and decent young adults. Most of them now tower over me and will give me all I want in a sparing match and that is quite satisfying to me.

Stash Spotted! The 10 Weirdest Places Drugs Have Been Found

It’s not outer space that has NASA seeing stars. It’s cocaine!

There was no failure to launch at a NASA this week, as a worker discovered a bag of cocaine outside a bathroom in a secure part of a space shuttle hangar at Florida’s Kennedy Space Center. Despite being all spaced-out, NASA has a zero-tolerance drug policy (and is now drug testing everyone with access to the area), so it’s an extra odd place to find some dope. Perhaps not the strangest or funniest, though. Check out some of the most memorable places (that don’t involve dead baby corpses) where drugs have been discovered.

In an ATM, February 2008
• An 18-year-old woman in Bremerton, WA accidentally placed her bag of meth in a deposit envelope instead of her money and tried to deposit it at a Kitsap Credit Union ATM. Silly junkie! Depositing your meth is the how you go through withdrawal!

————————————————————————————————————————————————————-

In fat rolls, September 2009
• A 5-foot, 220-lb. woman in Pontiac, MI, who’d been sentenced to jail time at her court hearing, tried to sneak her stash in with her by tucking it in some sweaty blubber—completely overlooking the standard strip search. Suddenly smuggling dope in through your anus seem less gross.

————————————————————————————————————————————————————-

In a public flower pot, September 2009
• Practical jokers in Millville, NJ put planted marijuana in a flower pot hanging from a lamppost on…wait for it…High St. Police eventually noticed the three-foot-tall plants sticking out and took them down, but it was high-larious while it lasted.

————————————————————————————————————————————————————-

In front of a donut shop, September 2009
• A man, who was apparently unaware of the strong bond between police and pastries, got caught dealing heroin out of a Marlboro Menthol cigarette pack in front of the local Dunkin Donuts in Easton, PA. Hey, some people like their donuts with sprinkles of heroin on top.

————————————————————————————————————————————————————-

In shark corpses, June 2009
• Drug gangs in Mexico City, Mexico tried to conceal more than a ton of cocaine slabs destined for the U.S. in the frozen corpses of sharks. When Naval officers discovered the stash, those responsible for the shipment claimed the drugs were a conserving agent. Coke—it does a shark body good!

————————————————————————————————————————————————————-

In stuffed animals, August 2009
• You know how they make teddy bears so cuddly? They slice the cute lil’ fuckers open and stuff ‘em full of heroin! At least that’s what a smack ring in the Bronx, NY did, filling Build-A-Bear dolls with dope before delivering them to distributors. With so much junk coursing through their bodies, we guess you could call them “unsteady bears”!

————————————————————————————————————————————————————-

In dogs, July 2004
• Dogs may be man’s best friend, but we don’t think they’re cool with drug dealers surgically inserting eleven containers of cocaine in them to smuggle from Colombia to the UK, as a northwest London couple did to some sweet pooches. Sometimes it’s absolutely right to bite the hand that feeds you.

————————————————————————————————————————————————————-

In a shipment of artichokes, September 2009
• In Peru, police uncovered four tons of high-grade liquid cocaine hidden amongst 8,000 cans of artichokes at the port of Callao. That’s one way to get kids to eat their vegetables.

————————————————————————————————————————————————————-

In a cast, March 2009
• A 66-year-old Chilean man, who had two fractured bones below the knee, tried to smuggle cocaine into Barcelona in his cast made out of cocaine! The man couldn’t catch a break, in part because he was also hiding coke in his luggage, a six-pack of beer, and the aluminum legs of two stools.

————————————————————————————————————————————————————-

In a submarine, October 2009
• In Guatemalan waters off the Central American Pacific coast, U.S. anti-drug agents and the Guatemalan Army intercepted three Colombians and a Mexican in a small submarine carrying ten tons of cocaine. That’s even more drugs than the Beatles fit in their yellow submarine!

————————————————————————————————————————————————————-

In a religious statue, May 2008
• U.S. customs officials with drug-sniffing dogs seized a 6.6-pound statue of Jesus Christ, which a Mexican woman had in the trunk of her car. It turned out God’s son was made from a mixture of plaster and cocaine, which gives a whole new meaning to the “most high.”

• CLICK HERE TO SEE MORE OF COMPLEX’S POLITICS & CRIME POSTS!

The tobacco in cigarettes hosts a bacterial bonanza — literally hundreds of different germs, including those responsible for many human illnesses, a new study finds.

“Nearly every paper that you pick up discussing the health effects of cigarettes starts out with something to the effect that smokers and people exposed to secondhand smoke experience high rates of respiratory infections,” notes Amy Sapkota of the University of Maryland, College Park. The presumption has been that smoking renders people vulnerable to disease by impairing lung function or immunity. And it may well do both.

“But nobody talks about cigarettes as a source of those infections,” she says. Her new data now suggest that’s distinctly possible.

If these germs are alive, something she has not yet confirmed, just handling cigarettes or putting an unlit one to the mouth could be enough to cause an infection.

The idea that tobacco might contain viable germs isn’t just idle conjecture. Several research teams have isolated bacteria from tobacco that they could grow out in petri dishes. Those earlier investigations tended to hunt for — and, when found, attempted to grow — only one or two species of interest, Sapkota says.

What’s novel in her study: She and her colleagues probed for genetic material from any and every bacterium in a cigarette’s tobacco. Under sterile conditions, the researchers opened up cigarettes and then performed a series of tests on the leafy bits. For instance, they isolated all of the ribosomal material and then homed in on its long, species-specific stretches known as 16S regions. These genetic segments were then compared to 16S patches characteristic of known bacterial species.

Sapkota’s team had 16S probes for close to 800 different bacteria and found matches to many hundreds in the four brands of cigarettes screened: Marlboro Red, Camel, Kool Filter Kings and Lucky Strike Original Red. These cigarettes are “among the most commonly smoked brands in Westernized countries and represent three major tobacco companies,” Sapkota notes. All were purchased in Lyon, France, where she was completing her postdoctoral studies.

Among the large number of germs whose DNA laced these cigarettes were: Campylobacter, which can cause food poisoning and Guillain-Barre Syndrome; Clostridium, which causes food poisoning and pneumonias; Corynebacterium, also associated with pneumonias and other diseases; E. coli; Klebsiella, Pseudomonas aeruginosa and Stenotrophomonas maltophilia, all of which are associated not only with pneumonia but also with urinary tract infections; and a number of Staphylococcus species that underlie the most common and serious hospital-associated infections.

Sapkota’s team lists many of these — including the most prevalent bacteria in the tobacco they studied — in a paper published early, online in Environmental Health Perspectives.

Some people have criticized the idea of infectious cigarettes, arguing that as tobacco burns, it would kill any germs present. But Sapkota is not so sure that’s true. The tobacco farthest from the burning tip might be a balmy temperature, from a bacterial point of view. And here’s “a really wild idea,” she says: What if the smoke particles traveling through the still-unburned part of a cigarette pick up some germs and then ferry them deeply into the lung, where they’re unlikely to be cleared? Wouldn’t that be the prescription for disease?

Of course, there’s also plenty of chances for a smoker to become exposed prior to lighting up. And, of course, the potential for highest oral exposure would come from chewing tobacco — and nasal exposures from snuff.

Sapkota, an environmental health scientist, plans to follow up her preliminary data to see which types of tobacco are most likely to host viable germs, and whether those bacteria are transported into the body, either during smoking or by the insertion of unburned tobacco products (including chewing tobacco) into the mouth.

Several thousand potentially toxic chemicals have been isolated from cigarettes. Sapkota says that it’s not hard to imagine that the number of germs hosted by tobacco products could rival that of the carcinogens and other poisons residing in or produced by burning tobacco.

How so, when she’s only found genetic material indicting hundreds of germs? Owing to the bacterial probes available when Sapkota began her tobacco work, she was only able to screen for 700-odd species. But newer probes on the market can now screen for the bacterial 16S genetic material of 5,000 or more germs. And if she used such huge batteries of probes now, she said she fully expects she could turn up at least 1,000 hitchhiking bacterial species in tobacco products.

Image: Flickr/alphadesigner

See Also:

  • The Cigarette of the Future: All the Cancer, None of the Nicotine
  • Philip Morris Tries to Engineer the Cancer Out of Tobacco
  • Toxic Soup: Plastics Could Be Leaching Chemicals Into Ocean
  • Anti-Smoking Drug Succeeds When Antidepressants Fail
  • Darker Skin Linked to Nicotine Dependence
  • The Inevitable USB Powered Cigarette

cheap cigarettes

OEM Software

February 5th, 2010 by bieberlar

Photoshop: Texto 3D by balbastro julio

adobe suite cheap

There's a couple of ways to go about this. First if this is the first time your using the program a pop up message will come up asking if you want to automatically load any pictures from your hard drives. At this prompt I would recommend you do all the hard drives attached to your system. You can also do just certain drives or files but it easier to just do all the ones on your computer and get it done and over with at one time.

This way you won't hunt and search for that one photo you were sure was somewhere on your computer and you can also see exactly what is on your computer. For people with kids using a common computer this is particularly handy to see just what is in those files and drives. Kids are handy at hiding things from parents and this will allow you to see exactly everything that is a picture or video on your system. I'm not saying kids would do this but you can see what is all over your computer, even if no one really tried to download things.

So either you are prompted to search for photos or you can do this manually. When you start up Photoshop Elements 4 there are three different screens you can start up in: the welcome screen, editor, or organizer. Go to the organizer and you'll see some toolbars and pulldown menus and the main photo area in the center. To get photos from your computer manually after the first start up you go to the pull down menus across the top and click on File, pause your cursor over Get Photos and move your cursor over to by searching, the little binoculars and click on it.

This will open a window with your search options. This has options to look for photos in all hard drives, Drive C, By folder or using the browse feature. The browse feature opens a tree where you can search through your computer yourself. When you find the files you want you'll click on OK to load them.

In order to understand more about Adobe's program there are a few things you should know. This organizer just organizes photos for you to see and edit or use. It does not change the actual location of those pictures in your computers file system. It copies the location but not the actual picture and lets you see the pictures however you specify for you to know what photos you have on your computer and organize them. This way if you are not in the Adobe organizer you can simply go to the location of these pictures using any other program and they will be where you had them originally, unless you move them using the organizer.

When you edit pictures it will save the picture or image back to the original location on your drive, if you click on the save function in the file menu. It will not prompt you to overwrite the original photo. When you go to edit a photo I recommend you leave the original alone and make a copy of it to edit. This way you have the original if you mess it up and want to start over. If you use the save as function you can change the location of that picture along with the format.

I would recommend you organize your photos into a collection when you are done editing them, and leave the originals in a file that you downloaded them onto your computer into. The organizer has a few different ways to organize photos, collections, categories with tags below them and all photos.

The collections are separate from the categories and are like photo albums or slide shows to show off and group the pictures. The categories with the tags below them are more for groups of photos you have not worked much with but have organized into groups for ease of searching. When my program searched all the drives for photos I grouped them according to who's pictures they were, and what occasion or topic they were for. I have four people using my computer, my wife, two kids and myself. I let them make their own categories and made my own. I have several categories for each thing I do on my computer. One is for my game reviews, I need screenshots of the games and have a category for these with the tags for individual games.

The tags are a sub category below the category for you to divide the photos into. Just to clarify, it goes like this for the organizer, you have two separate groups to organize photos into, categories and collections. The toolbar for the two types has Tags and Collections on them but don't get the major groupings confused, it's collections of tags. Under collections you have tags for a subdivision, under collections you have collection groups.

The all photos grouping shows every photo you have loaded into the program, you can also exclude the collections or categories when viewing in this mode. It makes it easier, especially when first organizing all those photos to do this. You can go through and put photos into different categories and then exclude that category to lower the amount of photos in the all photo view.

The category icon and tags will show up on the pictures properties area and you can even make new icons for a wider variety than the dozen or so that come with the program. Using the editor or downloading some from the Internet you load or save them to a file for the program to use. In Photoshop you make a PNG picture 20 x 20 pixels in size, thats .278 inches square and save it to the caticons folder It's like this on my computer with the adobe program loaded to default location during setup.

C:/Programfiles/Adobe/Photoshopelements4.0/shared_assets/caticons

To make your own you need to use very simple pictures, not anything real. The size is actually 20 pixels or small square dots wide and tall. That means it's small and will not be able to use real or actual pictures for your icons. Simple icons you download from the Internet are usable if they are the correct size or if you resize them. You can play around with getting them to work using the editor, a good practice using your new program.

The icons are only used for the category icons, not the tags. But you can make your own or save some that you download from the Internet for the categories.

Organizing photos into the different categories and tags or collections is as simple as drag and drop the picture from the center all photo area onto the bar for the collection or category. Or you can right click the photo and click on add tag and it will pull down a menu with the tree for your photos. Find the collection or category you want and click on it. Whether you drag and drop or right click the tag will appear under the photo and you can work very quickly to add tags to all your photos.

In about three hours I tagged almost 2500 photos and started my computer's photos toward a more organized collection. I made several categories with some tags under them. And one thing I will mention, when you search photos the program will find any photos. Regardless of what they are or where they are. Any files with jpeg or gif will be loaded on the automatic setting, so if a game or other program has any photos it uses as tutorials or parts of there help sections it may load these into the organizer. Mine loaded some parts of my video card program help section and some game pictures. It loaded several maps and parts of game programs that the game uses as maps for you during game play and the splash screens while waiting for parts of the game to load.

All of these photos and such I put into separate categories so I would not mess with them. It is important that you are sure of what you are doing when dealing with these types of pictures. They are a part of another program and you should be sure you do not edit them and then save them back to the game or original program. If you do the program or game might not work or be different, or at least the picture for it will be different. If the settings for the picture is altered the program may be looking for a picture or image and not find what it was looking for and get an error.

So for these images and photos, don't mess with them, just put them into their own category and leave them alone until you are confident you know what you are doing with them. I have them in categories and do plan to mess with them, but I will not save them back to the games folder. Some of the images are of levels of games I am playing and it would be handy to see what the level looks like, a map of the level and what leads to where.

After you get all your photos organized you can quickly search by the categories you set up. You can exclude or include categories using the check box next to the categories of the photos in the box on the right of the screen with the category levels in it. A little binocular will show up in the box when you are viewing that group, a red circle with a bar will show up when you have excluded that group. You go back to all photos from the small box at the top of the photos windows.

Above the photo windows is a bar graph that shows the dates of the photos to allow you to search for photos by date. You can exclude this bar from the view by clicking on view at the top of the menus and timeline. You can also include or exclude the details of the photos by using the details just above this.

Adobe's Photoshop Elements 4 photo organizer is an easy to use and handy way to search and find photos that are on your computer. Once you go through all your photos it is an easy way to use the editor and save, find and create collections for you to print or show off all your favorite pictures. It also displays videos on the organizer by a little filmstrip in the corner so you know which are photos and which are videos. You can create slide shows using the organizer and show off your great collections. The organizer is a great way to automate your photos and organize them simply and easily.

How Big and Complex can you make your form?

I get asked this question often. Customers or partners develop very complex or large dynamic forms with many pages and large amounts of script. At what point do we cross the line and reach a level of complexity where Reader/PDF is no longer the right tool for the job?

There is no easy answer. The answer will be different for different users. But it is helpful to look at some of the stress points you’ll encounter with large forms.

Note that these notes apply to forms opened in Acrobat/Reader. The stress points for forms rendered on the server are much different.

  1. Number of pages to render
  2. File Size
  3. Script size, complexity and development methodology
  4. Script performance

Number of pages to render

One of the great properties of regular PDF files is that the file open time is constant no matter how large the PDF. The time to open a two thousand page PDF is pretty much the same as for a one page PDF. This is because Reader doesn’t load the whole PDF into memory and doesn’t read the bytes for page <n> until the user navigates to page <n>.

Dynamic XFA/PDF forms offer a different value proposition. The pages are shaped at form open time by the form data. Of course, there are great advantages to dynamic forms. But there are also associated processing costs. At form open time the entire form definition is loaded into memory. The entire set of data is loaded and merged with the form template. Reader performs enough of the layout to determine how many pages will be rendered. Then when you navigate to page <n>, Reader renders that page from the in-memory structures.

How many pages can Reader handle for a dynamic document? This depends on the complexity of the template. I’ve seen five page forms that take forever to open. I’ve seen a hundred page form open in a second. The limit is more related to the density/complexity of template and data rather than the actual number of pages.

Some form authors attempt to reduce file open time by hiding inactive pages. This strategy was effective in reducing form open time in Acrobat/Reader 7. But in Reader 8.1 when the form open algorithm was improved, the ‘page hiding’ strategy no longer makes a significant difference.

File Size

Dynamic XFA/PDF forms tend to be smaller than static documents. This is because of the template property of forms. For example: a hundred page static PDF will have a hundred pages of PDF mark-up. Whereas in the dynamic case, this could be one page of XFA mark-up that gets replicated a hundred times when merged with data. The latter will be a much smaller file. Nonetheless, dynamic documents can grow to the point where they begin to stress your system. The time to read and parse the documents happens very quickly – even for very large templates. However, the size of the template becomes more of a factor when there are security components in play. Operations such as Certification, Reader extensions and Signatures will perform comparison operations on ‘before-and-after’ versions of the form. The costs of these comparisons are proportionate to the size of the template.

So while there is no absolute threshold on file size, you will find the threshold is lower for certified/extended/signed forms.

Script size and complexity and development methodology

I have seen XFA/PDF files with tens of thousands of lines of JavaScript. Given that there is no debugger, you have to be pretty persistent to create this amount of script. If your big script library is well written, it may perform well enough, but the stress comes with the maintenance of the script:

  • When you change the script, do you have the ability to rigorously test your changes? When you modify fields or subforms, will your script still work? Do you have test collateral that gives you code coverage for all the edge cases in your script? Do you have some form of automated testing? QTP anyone?
  • Is your script maintainable? Or is the code ‘write-only’? Unless you have been disciplined in the creation of your library, you will have longer term maintenance issues when a new developer comes along to update an existing form.
  • When you encounter problems with your script, are you able to isolate the problem when you ask for help? Your friends in our support organization are much better at solving problems with small, simple forms than with large, complex ones. If your script is modular and isolated into components then you’ll be able to ask for help much more easily than if your script is an inter-tangled mess.
  • When you change script, do you preserve previous versions of your form? You need the ability to roll-back changes.

Again, there are no absolutes here, but if you want/need to write lots of script, you need to have the associated discipline in your development environment to make it maintainable.

Script performance

Large amounts of script do not necessarily imply poor performance. But poorly written script of any amount can kill form performance. A script that traverses the entire form hierarchy will have performance that is proportionate to the number of objects in the form. As the form grows, the script slows down. There are many 'best practises' for writing efficient script. It is very important to pay close attention to the contents of frequently executed loops.

Conclusion

But before you make a big investment in a form, make sure you consider the alternatives. You might be better off with a Flash form or an AIR application.  If you choose Reader/PDF, the maximum size and complexity of your form depends primarily on your own tolerances.  You need to decide whether the runtime experience is responsive enough.  You need to decide if you are getting the return on investment for your cost to develop and maintain the form. 

January 28, 2010

Free eSeminars: Learn Acrobat Online

The always suave Mark Middleton and I will be hitting the "interwebz" for a series of educational eSeminars over next few months.

Not all of these eSeminars are legal-specific, but many of them offer content that may be of interest.

  • All eSeminars are FREE
  • 1-hour long
  • Register Online for as many as you want

cheap software

Hello world!

February 2nd, 2010 by bieberlar

Welcome to SciAnswers Social Media Website. This is your first post. Edit or delete it, then start blogging!

Blogs and blog posts that are not health or science related and not written in English are subject to removal.