A thing temporarily called Giffer

Discussion in 'other software & services' started by angstrom, May 28, 2019.

  1. angstrom

    angstrom Registered Member

    Joined:
    Oct 27, 2013
    Posts:
    126
    Location:
    Switzerland
    Hello everyone,

    I thought I'd share a little side project of mine - a screen-to-gif recorder.

    It's small (~ 100KB with no dependencies) and light, does just one thing, predictably and with minimum fuss - resize its window, point at where needed, hit F1 to start recording, hit it again to stop. This will generate a GIF and open it with a default GIF viewer, which would normally be a web browser.

    Here it is in action -

    https://swapped.cc/tmp/giffer-screencap.gif

    The binary is here - https://bvckup2.com/files/giffer-0.9.1.exe, EV signed
    Full release notes are here - https://gist.github.com/apankrat/14b28656236d78407b28aef3102cf72d

    I do a lot of screencaps, for bvckup2 dev log and what not, and needed something that worked well for my case. So as per usual instead of trying to find what's out there I just wrote the damn thing :)

    If anyone's got any thoughts or comments, bring them on.
     
  2. sdmod

    sdmod Shadow Defender Expert

    Joined:
    Oct 28, 2010
    Posts:
    1,159
    'Giffer-0.9.1.exe is not a valid Win32 application'
     
  3. angstrom

    angstrom Registered Member

    Joined:
    Oct 27, 2013
    Posts:
    126
    Location:
    Switzerland
    It's a 64-bit executable indeed.

    Here's a 32-bit one - https://bvckup2.com/files/giffer-0.9.1-32.exe - completely untested though.
     
  4. guest

    guest Guest

    Resizing of the application window is sometimes difficult to achieve (moving of the mouse cursor along the border of the window = the mouse cursor icon doesn't change)
    And after some time the window looses the focus and clicking on the titlebar leads to nothing (the application cannot be selected)
     
  5. angstrom

    angstrom Registered Member

    Joined:
    Oct 27, 2013
    Posts:
    126
    Location:
    Switzerland
    64-bit or 32-bit?
     
  6. guest

    guest Guest

    64-bit
     
  7. angstrom

    angstrom Registered Member

    Joined:
    Oct 27, 2013
    Posts:
    126
    Location:
    Switzerland
    Hmm. Does this happen right after the launch or after a capture session?
    There's really nothing fancy going on with the window or its message processing. It _is_ however created with "top-most" style...
     
  8. guest

    guest Guest

    After it has been launched it works, but after the windows has been resized a few times it seems to loose the focus.

    a) resizing of the application window a few times
    b) now i switch to a different application
    c) but switching back to giffer is hardly possible, the window stays unselected even after clicking on the titlebar.
    c1) a click on the application in the tasbar and now it looks like the window has been activated.
    c2) but a click on the title bar of the application window leads to a click on the underlying window but not Giffer.
     
  9. angstrom

    angstrom Registered Member

    Joined:
    Oct 27, 2013
    Posts:
    126
    Location:
    Switzerland
    Thanks, mood.

    Can you give this build a try as time permits - https://bvckup2.com/files/giffer-0.9.2.exe ?

    I changed it so that the window position is now saved lazily rather than immediately after each change. I suspect that was creating a lag in processing of some events and led to what you saw (I can't reproduce it though, even if using an older machine with a slowed disk).
     
  10. guest

    guest Guest

    With version 0.9.1 i was able to reproduce it each time. But the issue is fixed in v0.9.2 and i can't reproduce it anymore :thumb:
     
  11. angstrom

    angstrom Registered Member

    Joined:
    Oct 27, 2013
    Posts:
    126
    Location:
    Switzerland
    Got few things fixed and improved - all shipped out with 0.9.4, https://bvckup2.com/files/giffer-0.9.4.exe

    The only outstanding issue is with not properly handling the case of recording window being partially off-screen. Will fix this shortly.
     
  12. angstrom

    angstrom Registered Member

    Joined:
    Oct 27, 2013
    Posts:
    126
    Location:
    Switzerland
    0.9.5 is out, renamed into μGiffer

    "Release notes" are here.
     
  13. The Seeker

    The Seeker Registered Member

    Joined:
    Oct 24, 2005
    Posts:
    1,338
    Location:
    Adelaide
    What an awesome little tool; this will be so handy for troubleshooting.
     
  14. angstrom

    angstrom Registered Member

    Joined:
    Oct 27, 2013
    Posts:
    126
    Location:
    Switzerland
    0.9.7 is out, fixes a GDI handle leak in capture phase.
     
  15. angstrom

    angstrom Registered Member

    Joined:
    Oct 27, 2013
    Posts:
    126
    Location:
    Switzerland
    0.9.8 is out, adds a 3 second countdown timer (can be changed or disabled via INI).
     
  16. guest

    guest Guest

    μGiffer 0.9.12 (April 28, 2021)
    Website
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.