Gallery Server just got a lot more powerful. The upcoming release of Gallery Server 4.0 includes a built-in image editor that lets you crop, resize, rotate, adjust colors and more.
When you are logged in under an account with edit permission, a new ‘edit image’ button appears in the ribbon toolbar.
Clicking the button opens an editor, exposing a number of editing capabilities.
The buttons along the top of the window allow you to crop, resize, rotate/flip, sharpen, and invert colors. You can also adjust brightness, contrast, color and gamma values. A built-in undo manager lets you revert to previous edits. And a zoom viewer gives you the ability to hone in on details for a closer look.
While you are in the editor, your changes exist only in your browser. When you click save, the edited image is sent to the server and replaces the original image. The metadata from your original image file are copied to the edited image, thus preserving all that meta goodness like keywords, shutter speed, and the rest of the EXIF/XMP/IPTC data.
One click rotate/flip
We spent a lot of effort in v4 thinking about your workflow and trying to make it as efficient as possible. So we exposed a few of the most common editing functions right on the toolbar. You can see them to the right of the image editor button.
These buttons give you one click access to rotate and flip functions. They also work for videos when you have FFmpeg installed from the free Gallery Server Binary Pack. These buttons work a little differently than their counterparts in the image editor. Since they support rotating and flipping videos, these functions are carried out on the server and are independent of the algorithms in the image editor. For example, clicking the ‘rotate left’ button sends a lightweight AJAX request to the server, where the hard work of rotating the image or video is performed.
Client vs. Server
This raises the question of whether it’s best to choose the client-side rotate/flip (through the image editor) or the server-side rotate/flip (through the four buttons on the toolbar). In our experiments, we could not detect a difference in quality between the algorithms of the popular browsers and their .NET-based server-side equivalents. They all looked great and performed well. That said, we didn’t test all possible browsers and they are being constantly upgraded anyway, so you may find a particular browser does either better or worse than .NET, depending on the algorithms being used and the type of images you are editing. If this is important to you, be sure to test. Remember, these functions are changing your original files.
There is one case where you must use the server functions rather than the client functions, and that is when you have watermarks enabled. If your role prevents you from seeing the unwatermarked version, Gallery Server won’t let you use the client editor. That’s good because if it did, your original image would get overwritten with a permanently watermarked one.
As long as you are in a role with access to the original, unwatermarked image, you can use the image editor, even when watermarking is enabled.
The image editor will be available in all commercial versions of Gallery Server 4.0, from the low cost Home & Nonprofit to the Enterprise Ultimate edition. It is also included in the 30-day trial to give you a chance to play with it before deciding which edition is best for you.