spaceotter is a user on mastodon.art. You can follow them or interact with them if you have an account anywhere in the fediverse.
spaceotter @spaceotter

You can now post your pics from gimp.

I ported like 80% of my krita plugin to . it's alpha but does the job.

single py file you just install in ~/.gimp-2.8/plug-ins on
(make plugin executable)

not macOS compatible. Windows untested atm

Download:
github.com/spaceottercode/gimp

make some scribbles, tweak a photo, use a GMic filter, crop an image, etc, before posting it on Mastodon, or share your digital artwork made in gimp.

@spaceotter if you use `#!/usr/bin/env python` that should be more platform independent

@hirojin True. I'll make the change and commit it. Thank you. 😄

@spaceotter

I'm trying it on Windows 7...

Don't like the popup to tell me to create an account, that doesn't have an OK button.

I assume that after I enter the Mastodon Server URL and press authorize I would get a dialog asking for username/password? Because it seems to hang at that point.

@spaceotter

A very quick look at the code shows "print" statements. This is catastrophic on Windows as they get sent to a fixed size buffer that never gets flushed - causing hangs.

@paynekj it takes a moment. no more than a minute or two. did it bring up a web browser.

@spaceotter
After redirecting the stderr and stdout I can see an error if the url contains htps://: undefined global url. Without that it opens a browser window, but that just times-out. On Windows running from the command line doesn't get you the output of the print statements. See gimp-forum.net/Thread-Debuggin for how to redirect stderr/stdout

@paynekj I'm redirecting mine to a log file. I'll let you know what I find. At the moment I'm seeing an SSL issue.

@paynekj

released an update on github.

* fixes the missing url bug you pointed out. thank you.

*added an ok button to the popup.

* removed all other popups. For some reason these popups freeze under window (despite working on mac and linux).

* added logs. logs are created in the .gimptoot folder

these fixes might not be enough (there's an SSL issue), but could you please give it a try. thank you.

@spaceotter That seems to work. I was already logged into Mastodon when I added the URL and it took a couple of minutes to authorize, but it is successfully tooting pictures now.

@paynekj 🙌 🙌 yay. Hopefully I can get some further updates soon. I'll publicize any updates here.

@paynekj

np I'll add the ok button back.

after clicking authorize python should open a web browser. sometimes it opens a tab. on rare occasion no browser is launched...

I'll run it on Windows later today. I hope I can see those print statements if I run gimp from the command line (they should be only a few bytes. < 1KB )

Thank you for looking into. I'll let you kmow what i find/fix