Results 1 to 10 of 23

Thread: Rotating equirectangular maps (G'mic script, GIMP and Krita) + Sinusoidal projection

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default

    I'm having trouble with the message client, it shows zero sent messages. Maybe I don't have sending privs yet?
    So here is my solution to Naeddyr's excellent gmic script:


    Naeddiyr's G'mic plugin is a joy to work with. No more going back and forth with other applications.

    The file downloads just fine. It doesn't run unless the following edits are made.

    PROBLEM-1:
    ~/.gmic file is ignored by gimp

    FIX:
    In ~/.gmic, Find and Replace all (127 of them)
    #@gui >> #@gimp

    PROBLEM-2:
    Opening an equirectangular image and applying "Rotate Equirectangular Map" in any or no axis leads to this error window message-
    *******************************************
    *** Error in ./rotate_equirectangular_map/*
    *** Unknown filename 'keep[-1]'. *
    *******************************************

    FIX:
    In ~/.gmic,
    LINE 122 -- changed "keep[-1]" to "-keep[-1]"
    LINE 197 -- changed "keep[-1]" to "-keep[-1]"

    The lines look like this:

    --- Keep the last (. = [-1] image index) image generated
    +++ -Keep the last (. = [-1] image index) image generated

    That pesky minus sign is missing from the "keep" filename.

    Now it works like a charm.

    Thank you Naeddyr.
    -- Molly J

  2. #2
    Guild Adept Naeddyr's Avatar
    Join Date
    Jun 2008
    Location
    Finland
    Posts
    300

    Default

    Quote Originally Posted by MollyJ View Post
    That pesky minus sign is missing from the "keep" filename.

    Now it works like a charm.

    Thank you Naeddyr.
    -- Molly J
    Thanks for the bugfixes! I will check them out later this week and apply them. I haven't been working on this so every single thing I knew about gmic scripting is *poof* gone, just like that, so I'm happy if other people want to join in on the fun.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •