About Ludwig

Lending a helping hand where I can. . . My motto: If it is worth doing, it is worth doing well.

How does a tilt-shift lens correct perspective distortion?

Short answer: It doesn’t. — A tilt-shift lens does not correct the perspective distortion that we often call “falling-over building syndrome”. What it does is to let the photographer avoid the problem.

Here is an illustration of what we are talking about.

The narrowing at the top is just the way imaging works. You see it anytime you look up at a building. Our visual system interprets it for us when we stand in front of the building, but when we see it in a photo it just doesn’t look right.

The problem arises from titling the camera upward. If the plane of the sensor is parallel with the vertical structure, there will be no falling-over building syndrome, “FOBS”.

This photo illustrates how buildings look “right” when the camera is not tilted, held level and aimed so the horizon is in the middle of the frame.


We get way too much sidewalk that way, but it works! Cropping can get us what we want.

Sometimes the camera angle of view does not include all we want when the camera is level. Here is an illustration of that.

The left image models the view with a regular camera lens. The yellow frame simulates the sensor size and shows what the result would be. Note that the building is only partially included.

On the right is an illustration of what shifting of the lens accomplishes. The image is shifted relative to the sensor so all of the building is within the frame. Only the lens shifting is needed for this “correction”, the tilting part of the lens is not used for avoiding the perspective distortion.

There is also a hint there that the image size produced by a tilt-shift lens is much larger than what is produced by a normal lens. The reason, of course, is so different parts of the image can fully illuminate the sensor when the image is moved around. This also makes the optics of such lenses more demanding and expensive.

This is a photo of the Nikon PC Nikkor 19mm 1:4 E ED wide-angle tilt-shift lens. Notice how the whole lens is shifted relative to the lens mount. The range of this lens is 12 mm in either direction. That is half the height of the full frame sensor (about 24 by 36 mm). If you do architectural photography this is a very useful tool.

.:. © 2022 Ludwig Keck


How can I size the logo my way on my WordPress.com site?

WordPress offers an amazing array of features and options on WordPress.com sites. Unless you are using the upgraded, pricey, Business plan (or higher), plugins to provide more options are not available.

Most themes that allow a logo to be displayed have a fixed, dinky, size for the logo. On the Twenty-Twenty-One theme it looks like this {using a a rather wide, low-height logo image):

Without any logo the appearance is plain and uninspiring.

How about using the logo as a background image? That would allow the logo to be sized in the uploaded art and get it just the desired size and placement. That gives us this:

The title block overlays the background image with the site name and menu over the logo art. Not at all acceptable.

Now you may have noticed that when a logo is displayed there is a wide strip provided for it. Can we get that strip even when no logo is used? No, there is no provision for that. However, there is a way!

What if we use a logo that does not show? A transparent image with nothing in it does the trick.

For this site, and this demonstration, I made a 800 pixel square PNG image and made it fully transparent.

And, voile, we have a site with a custom-size “logo”. A transparent image set as the logo in Site Identity and an image with the desired logo set as Background Image. The settings Fit to Screen with position top center and Repeat Background Image unchecked.

Note that the image was wide and not very tall, designed to fit just right.

There you have it. A way to size the logo your way.

.:. © 2021 Ludwig Keck

What is Mode P on a Camera?

Cameras typically have a “Mode” dial, although on some the modes are selected on the display. The mode control selects how exposure is set and looks similar to the illustration here.

The mode control has two areas, except for the professional models that have only one, more on that momentarily. One area, shown here with the icons on the dark background, has the automatic exposure modes. From AUTO to the tulip. In any of these modes the camera makes all the decisions. Pretty much all of the time that results in a fine photo. The icons let the photographer tell the camera what the subject is so the camera can make even better choices.

The other area on the exposure mode dial, here with the white background, shows the modes that put the photographer in control – with the camera helping. These modes are typically labelled M, A, S, P. On Some cameras the settings are M Av Tv and P. These are the modes found even on professional models.

M is manual mode. The photographers sets everything, aperture, shutter speed, ISO sensitivity. The A (Av) mode is aperture preferred. The photographer set the aperture and the camera picks an appropriate shutter speed that gives “correct” exposure. In S (orTv) mode is shutter preferred. In this mode the photographer picks the shutter speed and the camera chooses the aperture.

That get us to mode P, or “Program” mode. This is a somewhat automatic mode. The camera picks both shutter speed and aperture, but the photographer can vary the settings, usually with the control wheel.

So what does the camera pick? – That depends on the ISO sensitivity setting and the scene brightness as measured by the camera. Most manuals are not very informative and neither are many of the training tutorials. For my old Nikon D800 the manual contains this graph (I have added the blue line and the ISO label.

What this tells you is that the camera works along the heavy black line. This is when the camera is set to ISO 100. It will pick a point along this line as determined by the scene brightness. Scene brightness on this chart is represented by the EV scale, shown with diagonal lines labeled from -5 to 23. Each increment on this chart is an EV step or stop, meaning a difference in brightness by a value of two, just like the steps on the aperture and shutter speed controls. An EV of 15 corresponds to bright sunny daylight. In your living room with the lights on you probable would have an EV of about 5.

So by this chart in daylight, EV 15, the camera picks an aperture setting halfway between f/8 and f/11 and a shutter speed halfway between 1/250 sec and /1500 sec. That is where the blue line crossed the heavy black line. If a cloud comes over and it gets a little darker the camera will pick a spot along the black line toward the left and the top. For half the light, that is one stop less light, the camera will open the aperture one half stop and increase the exposure time by the equivalent of one half stop.

The heavy black line goes horizontal at the maximum aperture that the mounted lens provides. It is drawn here for an lens that is f/1.4 at the widest. It will increase the exposure time by one stop for each stop less available light.

Similarly on the other end, at high levels of light, the camera will not stop down below f/16 and compensate for the change in light with shutter speed alone.

But wait, there is more!

In this P-mode, the camera control wheel will let the photographer vary the aperture and shutter speed, making the compensation in one for a change in the other.

Look at the blue line, the one I added to this graph. This is the EV 15 line, for a typical sunny daylight scene. The camera picked the point where the heavy lines cross. The control wheel allows moving up and down along the blue line. Notice that the aperture and shutter settings along this line all give the same exposure. So the photographer can pick either the aperture or shutter speed needed while the other parameter is set to maintain the same exposure.

There is still more. Many cameras allow “auto-ISO” and can also set the slowest allowed shutter speed. When that limit is reached at low light levels – along the heavy black line – the camera will increase the ISO to maintain the exposure.

P-mode is a semi-automatic mode freeing the photographer from fussing with the camera and concentrating on the subject being photographed. It can thus lead to better results. So P-mode is “pretty professional”. Use it. You will grow to like it.

.:. © 2021 Ludwig Keck