Sunday, June 10, 2018

Using GIMP to Resize Photos to a Specific Size

This afternoon I am editing photos for a website. I would like to take some images from 4992x4000 down to exactly 620 px across. I will be using Gimp and a little math to make this happen in seven steps.

First things first, I could do the math in my head, but I want to make this a step by step process. The second thing is, unpwnd doesn't require a specific size so the images in this walkthru will not be 620 px. That is not lost on me, I happen to Blogger as my platform and it has very different tools from Wordpress.

Step one. Open the image.
Step two. Click on Set Image Canvas Size. The dialog box will open and show that the image is currently 4992x4000. That is nothing like 620 px across.
Step three. I am going to adjust the width and the height. For the width, I need to lose those to extra pixels, it is so small no one will notice. So width becomes 2992-2=2990.

Height is another story. I am going to take away a multiple of 620. I decided that I would go with 620 times 2, so what I end up with is 2760. That is 4000-1240=2760.

Before I hit resize, I clicked the Center button. It just so happens that my subjects are dead center and this works. If it did not, I could have adjusted this manually.
Step four. I want to point out that I have been working with Canvas Size and not Image Size. Essentially, I am cropping the image to a particular size based on some math rather than an eye for photographic composition. Actual photographers have a great eye for composition and would not use this method.

Anyway, I think I can trim a little more of the edges and when I do that, I want my height and width to be an exact multiple of 620. I take the width of 2990 and divide by 620 which gives me 4.822 and some change. I do the same for the height which gives my 4.451 and change.

Now for a trick. I am going to take four away from each number leaving 0.822 and 0.451. Both of these numbers need to multiplied by 620. 620 is the only number I know for this process, which is why it keeps popping up. The results are 510 and 280.

2990-510 is 2480 and 2760-280 is also 2480.  2480 divided by 620 is 4.

Again, I am using the center bottom so I don't clip away my subjects. Also, this could a manual process.
Step five. Scale the image. I could do this part 2 ways. I picked the easy way: I scaled the image to 620. I could have also used the drop down box to select percent and typed in 25. There is no difference.
Step six. This is the result, an image that appears way too small. But not really, GIMP didn't change the scale of the display and the image is actually much bigger.
 Step seven. I set my view to 1:1. Looks good.
While all of this seems labor intensive, it is. But only once. Changes are your camera always outputs the same size image so you can save this as a macro making the process automatic.

And here is the final output at 620 px.

Neat, eh?

Monday, May 28, 2018

The Gracchi, Sulla and Mike

Mike Duncan is a popular podcaster turned author. His first offering is The Storm Before the Storm, The Beginning of the End of the Roman Republic and it is amazing. You can hear Mike read the first chapter, "The Beasts of Italy" on his Revolutions podcast.

I read through 50 pages at a theme park, it is more engrossing than some roller coasters. And what a ride it is. I can't wait to finish it and give it a proper review.

Friday, May 18, 2018

Tantrum Preview

     This evening, I saw them testing the Tantrum at Darien Lake. When the action stopped, I remember to take out my phone and snap some pictures. Oops.

     This coaster holds 8 riders in two row of four, is about 100 feet tall and features 90 degree climb to a more than 90 degree drop. It looks amazing.

    A little research on this model revealed that it was made by Gerstlauer and has the moniker "Euro-Fighter". It reminds me of the Motocoaster because the small footprint. This one seems more solid as it has it's own foundation rather than a frame base.

     I like these small footprint coasters, as the gee forces and excitement are crammed in a small space. They are a blast from end to end. The downside of such a system is the powerful mag brakes at the end to bring the cars in safely. As quick as they are, the ending is always rough. Don't get me wrong, I've ridden the Motocoaster at least six times this year because I love it. I can't wait to ride this one.

     It is opening Memorial Day Weekend but I not exactly sure on which day.  As you can see from the images, they have tripods and such around for construction and will likely add some nice landscaping as the season goes on.




Panorama of Darien Lake Water Park

It's few days from opening but the Water Park at Darien Lake is looking good.


Darien Lake Meal Plan and Dining Tips

Two taco meal.
     It seems they updated the meal plans again. The bacon burger is off the menu and there is choice of basic hamburgers and cheeseburgers. I tried the cheeseburger the other day and it was good. Unfortunately for the counter people, the signage is now wrong, which probably annoys them to no end.

Bacon Cheeseburger and Chicken Sandwich.
     In the picture to the right, you can see a cheeseburger with bacon next to the chicken sandwich. While the BBQ sauce in the dispenser is ok, I bet it would be better with hot sauce. They have removed the bacon burger from the menu and replaced it with a choice of hamburger or cheeseburger. Both are ample and come with great fries. Don't forget to try them with ketchup and vinegar*.

     While there is always an inclination to suspect that a company is downsizing servings by removing bacon, it seemed to me that the option of a burger with bacon but no cheese was simply a silly option. My son managed to order it with cheese with no problem. Twice. The issue with that is, he did the classic "I'd like burger with bacon. Could I have a side of cheese on that?" to which the cashier said, "Yes" instead of "The bacon cheeseburger is not a valid choice". That sort of stuff causes headaches with customers, cost and service. It is better that they don't offer it at all.

     There are two other options which aren't obvious. The BBQ sauce is great, but sometimes hot sauce is better. If you ask they will give you a cup of it. That's good to know, because it isn't offered and doesn't appear on any signage. The other thing is you can also ask for blue cheese, which is always better with hot sauce than the Ranch dressing that is the standard option. I can see the blue cheese going away because on one occasion they sold it to me for $1.50 up charge and then the very next day they gave me 3 at no charge. Weird. Again, they need to update which way they want to do this and stick to it. I am sure it was a training issue that will bite one of the friendly counter people.

     In the images above, you'll notice my Tim Horton's coffee. It isn't just a Canadian thing, it is also a Buffalo thing. You can get that at Sweet Tooth or the Tim Horton's booth near the front gate. While the booth is full service, the Sweet Tooth requires you to assemble your own coffee. About 4 sugar packets in a large is equal to a single-single. If you are counting calories and carbs, that is 64 calories and 16.8 grams of carbs not counting the cream. Add another 120 cals and 2 grams of carbs for cream. It's heavy cream and yummy in moderation.

     When stopping at Sweet Tooth, they have great (but expensive) popcorn. It's $5.99 a bag and so far I like the cinnamon over the coco flavored. The complete list of flavors are:

Cinnamon, Maple, Cocoa, Sweet Chili, White Cheddar, Herbal Bliss, Sea Salt and Vinegar, Jalapeno Cheddar.

    You can ask for a sample before you buy. They also have cookies, baked goods and fudge. Typically, there is a deal on the fudge, buy a pound get an extra quarter pound free. If you are sharing a sugary snack, Sweet Tooth is fine. If you want some to take home, get it in the shop near the main gate.

     In the back of the store, they have displays of candy and giant bags of popcorn. As tempting as it was to buy a giant bag of cinnamon popcorn, I suspect it is only a display, the bags are not priced or otherwise marked for sale and has no nutritional information. Oh, well. I can dream.

     One bonus item about Sweet Tooth is the tables with park maps set under glass. This is not an obvious place to sit down and eat, but you can do it. The area is only set up for 8 people at two tables, but in the ran or heat it will do nicely. They also service iced coffee and iced tea, which seems to have replaced the hot cocoa. Once the season is in swing, this shop is often the only place out of the information office with maps available for the taking.

     Everything about this shop screams "overpriced junk food" but it is actually kind of helpful for getting out extreme weather. Be kind and buy a drink.



*Although the vinegar is meant for fries, in a pinch it will immediately remove anything sticky or greasy from skin better than the less than hot water in the bathrooms. Remember, it is a mild acid so don't get it in your clothes, eyes or hair. Wash up with plan soap and water. It's good at removing sun screen so be careful of that, too.