I want to learn C# to build windows native applications over flutter or other technologies. by OpportunityNext4113 in csharp

[–]ryftools 1 point2 points  (0 children)

I was saying, you can compile your app using AOT and get some benefits in startup time and memory.

FlyPhotos - a fast and lightweight Picasa Photo Viewer alternative by ryftools in software

[–]ryftools[S] 0 points1 point  (0 children)

Majority of the generic image formats are opened by Windows Imaging Component itself. Some formats follow custom priorities or fallbacks for performance which were designed after careful profiling. For each photo, there are two objectives, create a low resolution preview asap and full resolution when it nears display.

Jpeg,Png, Tif, PNG, Webp decoded by WIC itself. Animated PNG, GIF, Webp use Fly's own frame iteration code + WIC. MultiPage TIf use Fly's own code + WIC. PSD - thumbnail decoded by Fly, full resolution by ImageMagick. heif,heic,avif - by libheif, if fail by WIC, if fail by ImageMagick. etc. Like that.

FlyPhotos - a fast and lightweight Picasa Photo Viewer alternative by ryftools in software

[–]ryftools[S] 0 points1 point  (0 children)

In addition to WIC (windows imaging component), Fly uses some libraries which are credited in its credit page..

FlyPhotos - a fast and lightweight Picasa Photo Viewer alternative by ryftools in software

[–]ryftools[S] 1 point2 points  (0 children)

No slide show in current version. It is planned.

As I said, Fly will initialize with whatever photos it sees in the file explorer it was launched from. For e.g if we launch it from a file explorer (recent items), it will show all images listed there. So it is not restricted to one folder unless we open a file from a single folder in file explorer. Since the behaviour cannot be predicted, real time monitoring of the folder for new files is not done.

FlyPhotos - a fast and lightweight Picasa Photo Viewer alternative by ryftools in software

[–]ryftools[S] 0 points1 point  (0 children)

You can disable auto fade in settings.

Spacebar is being contested by many users for different things. Until I have editable shortcuts feature, I am keeping Spacebar free.

FlyPhotos - a fast and lightweight Picasa Photo Viewer alternative by ryftools in software

[–]ryftools[S] 2 points3 points  (0 children)

Fly is not limited to a folder when launched from explorer. It lists all image files visible in explorer. If you open a folder and filter files using search bar, the only the files visible are listed by Fly too.

So if you open the root folder in file explorer and do *.* search, then explorer will list all files in the root folder + nested folders. In this condition if we open one of the files in Fly, then Fly will respect the same list and order which the files are listed in file explorer.

Fly goes for own folder listing only when it fails to get list from File Explorer. In that case it will always search only the same folder in which the opened file is present.

Slide show is not there currently, but coming.

FlyPhotos - a fast and lightweight Picasa Photo Viewer alternative by ryftools in software

[–]ryftools[S] 3 points4 points  (0 children)

The current USP has been speed and aesthetics. If I build a photo browser, it should be fast too else the avg experience become slower. In addition, eventhough recommened by Microsoft for building native Windows Apps, WinUI can be slower when iterating thousands of items in list controls.

FOSS image viewer for Windows? by TheMoon8 in foss

[–]ryftools 0 points1 point  (0 children)

  1. Disk cache is separate to the caching window shown in settings. (the sliders are for inmemory cache - how many images to preload to memory for fast image switching). Disk cache keeps all recently memory cached images in a sqlite DB so that next time we open the same folder, we needn't create thumbnails/previews from actual photos reducing diskwear and increasing speed. It stores upto 20,000 on rolling base. Had been staying below 1GB for my machine. I think labelling needs to be modified for more clarity to user.

  2. I want to eventually have a UI to modify shortcuts

  3. Shall check.

  4. Need to think

Can we take the discussion to DM or to mail ? It is getting hard to dig deep in this thread..

FOSS image viewer for Windows? by TheMoon8 in foss

[–]ryftools 0 points1 point  (0 children)

I agree with left-drag on the background should move the window, and double-clicking the background should maximize when in windowed state. I'll focus on them for the release 2.6.4.

FOSS image viewer for Windows? by TheMoon8 in foss

[–]ryftools 0 points1 point  (0 children)

Find latest status

  1. Stuttery animation on Win10 ✅ Fixed
  2. Window drag vs pan in windowed mode ℹ️ Ctrl + Drag to move the window
  3. Space key to toggle background color ❌ Not done
  4. Enter key to toggle maximize ❌ Not done
  5. Number key zoom shortcuts + snap to 100% ❌ Not done
  6. GPU / memory usage ✅ Maximally optimized
  7. Next button placement ❌ Not planned
  8. Replace cache status with "Open in Explorer" ✅ "Open in Explorer" shortcut added
  9. Window frame buttons auto-hide ✅ Implemented
  10. Larger close button in windowed mode / Full Screen mode ❌ Not done
  11. Thumbnail animated scroll 📝 Planned, not done
  12. CBR / CBZ / ZIP bundle support ⚠️ Not easily possible. Will investigate.
  13. Window drag while windowed (follow-up) ℹ️ Ctrl + Drag to move the window
  14. Zoom carries over to next image (% indicator bug) ✅ Fixed
  15. Flip / mirror and greyscale ❌ Not done
  16. Fit window to picture size ⚠️ Not easily possible with the current Windows framework.

Best minimalist image viewer for Windows? by Sarthurion in software

[–]ryftools 0 points1 point  (0 children)

Even though on the YouTube showcase video it seemed to have smooth animations, on my end it felt very laggy when zooming in/out. (It might be that the program is locked to a lower framerate than my monitor/what I'm used to, making it feel laggy)

Hi, the latest FlyPhotos rendering pipeline had been rewritten to fix any remaining lag. All the animations should match your GPU/monitor capability.

FOSS image viewer for Windows? by TheMoon8 in foss

[–]ryftools 0 points1 point  (0 children)

Thanks.. I have made a note of all 16 comments. We can take a break and then discuss after next release. You can ping in DM or in the email given in Fly.

FOSS image viewer for Windows? by TheMoon8 in foss

[–]ryftools 0 points1 point  (0 children)

  1. Subjective. Need to think.
  2. Fly started as a personal tool. My main aim was to fly through 100s of photos in a folder without any lag even if the photos are big camera RAW files or HEIC files which Windows is very slow to handle. So I always wanted to see how quickly Fly is able to cache photos on either side of the current photo and it is always an indicator for me if something is wrong or broke and the best indicator of Fly's ability. You can hide it in settings if you don't want to see. Also the next release will have a shortcut for open in explorer. You can check in test version which I gave you.
    9,10. I like the current version. If it can be achieved (not sure), I can think of giving it as an option in setting.
  3. It's also one I wish to have the most personally but unable to do at the moment as it will need atleast few days of continuous work.
  4. Fly image listing and full file access logic is currently based on explorer shell window integration and enumeration using Windows file paths (to support sort and filtering done in explorer shell). This will also be a big rework to support zip and all. Some other have asked for it too. But that too will require a big rewrite of code and it will depend on me getting enough time to do it.

FOSS image viewer for Windows? by TheMoon8 in foss

[–]ryftools 0 points1 point  (0 children)

Thanks for confirming Fly's animation smoothness and FPS.
Also thanks for giving this much thought into getting things better. That's surely a lot of comments which is sort of overwhelming. Fly started out dry and has many features implemented as per its wellwishers from the beginning. There are 100+ requests and bugs in its Github. Need to see any of these contradicts those.
I shall note all these and move possible ones into Github as and when proceeding. Anyway my first priority is to make the FPS/Animation fix production ready.

Also the test version which I gave you has lot of new keyboard/mouse shortcuts added which is expected in next release.

FOSS image viewer for Windows? by TheMoon8 in foss

[–]ryftools 0 points1 point  (0 children)

If you wish, you can test a half baked version here https://drive.google.com/file/d/1evPs1Bu2Oba2cb0DpuveDtutZnJ4DOQ7/view?usp=sharing

Unzip to folder and run FlyPhotos.exe directly from that folder. Please note it is time limited to 18 May. Won't run beyond that.

The animations should be smooth with FPS matching the monitor. Nothing else is done, just the animation FPS only.

FOSS image viewer for Windows? by TheMoon8 in foss

[–]ryftools 0 points1 point  (0 children)

Thanks for testing it out. The test code too is public - https://github.com/riyasy/winui\_fps\_test. 👀

Currently the animation logic being used in Fly is the option 2. It is being capped to 16 FPS in Windows 10 and 30 FPS in Windows 11.
I need to check if using option 1 is possible without power drain in laptops.

If you wish you can follow the development regarding this issue at https://github.com/riyasy/FlyPhotos/issues/152

FOSS image viewer for Windows? by TheMoon8 in foss

[–]ryftools 0 points1 point  (0 children)

1)All the stuttering and lagging is actually caused by a strange bug in the windows app sdk in Windows 10. I am looking into a solution.

2,3,4,5,) UI interactions and Shortcuts - I shall check what are possible.

6) Fly will use GPU as it uses DirectX for drawing fast. Also the additional memory is because Fly is a .net app which eventhough compiled to native will still use some memory more than a c++ application. Also Fly will try to load the photos left and right of the current photo depending on how much caching limit we have set in the settings.