Deprecated: Return type of I::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/toolkit/lib/i.php on line 62

Deprecated: Return type of I::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/toolkit/lib/i.php on line 91

Deprecated: Return type of I::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/toolkit/lib/i.php on line 71

Deprecated: Return type of I::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/toolkit/lib/i.php on line 101

Deprecated: Return type of I::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/toolkit/lib/i.php on line 53

Deprecated: Return type of Collection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/toolkit/lib/collection.php on line 80

Deprecated: parse_str(): Passing null to parameter #1 ($string) of type string is deprecated in /home/public/kirby/toolkit/lib/url.php on line 135
One Tap Less | A Day to Update Python Scripts

A Day to Update Python Scripts

I may want to figure out a better way to announce these, but two of my latest scripts received major updates today and I urge you to grab the newest versions. The first is from my previous article to log the movies you watch on Day One using IMDB and Pythonista to add film information. The other is my crop tool for Editorial to crop images and save to the Camera Roll.

Log Movies on Day One

If you think URL encoding is difficult, don't step near unicode and HTML entities. The first version of the script would replace accented characters for their HTML entities and that doesn't look very good on Launch Center Pro. Now you can search for all the Pokémon movies and receive the correct results. The script is updated on both the article and the gist, so please yourself.

Crop Images on Editorial

I'm enthusiastic about this one since it took me days to find the appropriate solution. Previously, this workflow was straightforward: select an area, crop the image, save to Camera Roll. Now, after selecting an area, you can drag the corner handlers to adjust size or the whole area square to move the selection.

I kept the function that if you tap outside any of the areas you start a new selection, so be a little careful, mainly on the corner handlers (although I increased them to a 44 pixels' box). This update also brings some layout fixes, so if you turn your device, the crop selection will adjust accordingly.

And there's a bug, of course, when you finish the selection, the Crop/Clear buttons still look disabled, but if you tap on them, they shall work. If you make a selection, tap on Crop and then close the popover window, the buttons will turn into their true colors.

Get the updated version at Editorial's Public Workflow Directory and have fun cropping images on Editorial.