Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for more plugins: 32-bit Imagine and XnView Classic #5

Closed
f2d opened this issue May 22, 2022 · 13 comments
Closed

Request for more plugins: 32-bit Imagine and XnView Classic #5

f2d opened this issue May 22, 2022 · 13 comments
Assignees

Comments

@f2d
Copy link

f2d commented May 22, 2022

If possible. Thanks.

@pfusik
Copy link
Owner

pfusik commented May 22, 2022

XnView Classic uses the same plugin mechanism as XnView MP. Do you want a 32-bit build?

I can easily build the 32-bit Imagine plugin. Do you actually run it on 32-bit Windows or is there another reason?

@pfusik pfusik self-assigned this May 22, 2022
@f2d
Copy link
Author

f2d commented May 22, 2022

Yes to both, sort of.

I use both XnView MP and XnView Classic, which is 32-bit only.
This will help me with big collages instead of slower PNG or bigger BMP.

I use Imagine plugin for 32-bit Total Commander's built-in Lister (viewing files with F3).
It's an over 10 year old installation of some TC powerpack, where I keep piling plugins, settings and shortcuts, while postponing the update of TC core itself. Although it has some 64-bit parts, simply adding QOI.plg64 to Imagine did not work.
This is only for quick previews. I can rely on XnView MP instead.

@pfusik
Copy link
Owner

pfusik commented Aug 1, 2022

@f2d Please try out this alpha version.

@f2d
Copy link
Author

f2d commented Aug 1, 2022

@pfusik Both are not working.
I restarted the programs to check.

XnView Classic top menu → "Info" → "Supported formats" shows QOI as Read: yes, Write: no.
I can open files (same as without installing plugin), but no QOI in save dialogs.
I tried changing *.usr filename to *.dll just in case, but same result.

For example, another user-installed plugin for Imagine (WebP) works, so this is not plugin folder mistake.

@pfusik
Copy link
Owner

pfusik commented Aug 1, 2022

What Windows version did you test on?

@f2d
Copy link
Author

f2d commented Aug 1, 2022

Windows 10 x64.
Does it work on some other Windows version?

@pfusik
Copy link
Owner

pfusik commented Aug 1, 2022

I thought you have a 32-bit Windows. XP could be problematic, but everything from Vista on should be fine.

If it's 10 x64, that makes debugging easier for me. Hold on for updates.

@pfusik
Copy link
Owner

pfusik commented Aug 2, 2022

Please try the second alpha.

@f2d
Copy link
Author

f2d commented Aug 2, 2022

@pfusik
Now saving and viewing works in XnView Classic, 32-bit alpha values are also preserved on save. Thanks.

Imagine top menu (or right click when from TCmd) → "Help" → "Supported file formats" shows QOI as Read: O, Write: X, so I can view files, but no QOI in save dialogs.

@pfusik
Copy link
Owner

pfusik commented Aug 2, 2022

This is expected. I haven't implemented Save in Imagine yet. It's on my todo list. :)

pfusik added a commit that referenced this issue Aug 2, 2022
@pfusik pfusik closed this as completed in cd320e6 Aug 3, 2022
@pfusik
Copy link
Owner

pfusik commented Aug 3, 2022

Please check third alpha. Changes:

  • Packaged the 32-bit plugins into the installer (delete the plugins you installed manually first)
  • Saving in Imagine

@f2d
Copy link
Author

f2d commented Aug 3, 2022

XnViewMP v1.0 still does not keep transparency (alpha channel), but all others seem working fine.
Saving in Imagine 32/64-bit works, from TCmd Lister or separately, from 8-bit PNGs or 32-bit with transparency too.

@pfusik
Copy link
Owner

pfusik commented Aug 3, 2022

Alpha channel is to be addressed in XnViewMP >1.0.0.
QOI doesn't support palettes and the plugin reports that to Imagine, which apparently expands the image to 24-bit so it can be saved.

I've just released 1.1.2. It's practically identical to the third alpha.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants