Imagine (Lister plugin for viewing img files)

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, Stefan2, white, sheep

Post Reply
TW
Senior Member
Senior Member
Posts: 330
Joined: 2005-01-19, 13:35 UTC

Post by *TW » 2017-12-28, 12:22 UTC

iana wrote:
TW wrote:i'm still using v0.0.0.3 of the bpg plugins, good enough for my needs.
that's 32bit only
https://encode.ru/threads/2095-BPG-yet-another-format-to-replace-JPEG?p=50596&viewfull=1#post50596

if that helps... honestly, i've never seen a BPG image "in the wild" so far.
actually, the quality is only better than JPG on highly compressed images, and it's waaaay too slow.
licenced and happy TC user since 1994 (#11xx)

User avatar
petermad
Power Member
Power Member
Posts: 8004
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Post by *petermad » 2017-12-28, 16:22 UTC

License #524
Danish Total Commander Translator
TC 9.21a 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 64bit and TC 2.91b4 on Android 6.0
Get Extended Total Commander Menus | PHSM-Calendar

TW
Senior Member
Senior Member
Posts: 330
Joined: 2005-01-19, 13:35 UTC

Post by *TW » 2017-12-28, 18:47 UTC

the 64bit BPG is the same as in my link.

i'm not sure though how it performs compared to the 32bit version, the only challenge was whether it can be compiled as 64bit, i had to modify (small) parts of the code.
licenced and happy TC user since 1994 (#11xx)

User avatar
nsp
Power Member
Power Member
Posts: 1189
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Post by *nsp » 2017-12-29, 07:53 UTC

TW wrote:the 64bit BPG is the same as in my link.

i'm not sure though how it performs compared to the 32bit version, the only challenge was whether it can be compiled as 64bit, i had to modify (small) parts of the code.
you can get already compiled plugin version 0.0.5 at https://github.com/leavinel/BPG-Plugins/releases you need to get both DLL and imagine and follow install guide. Dll in imagine folder and imagine plugin in plugin folder.

TW
Senior Member
Senior Member
Posts: 330
Joined: 2005-01-19, 13:35 UTC

Post by *TW » 2017-12-29, 11:07 UTC

we know this. but you will run into the problem described by iana on the previoussitte when using v0.0.5
licenced and happy TC user since 1994 (#11xx)

User avatar
nsp
Power Member
Power Member
Posts: 1189
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Post by *nsp » 2017-12-29, 18:52 UTC

TW wrote:we know this. but you will run into the problem described by iana on the previous stte when using v0.0.5
No problem to mix 32/64bit imagine plugin on same folder !
You have to put 32bit dll into imagine addons folder, and 64bit dlls into %COMMANDER_PATH%\64 folder. It is the same trick i use for media-info, oracle outside in (for ulister), openssl ...

iana
Senior Member
Senior Member
Posts: 342
Joined: 2010-07-27, 22:00 UTC

Post by *iana » 2017-12-30, 11:17 UTC

nsp wrote:
TW wrote:we know this. but you will run into the problem described by iana on the previous stte when using v0.0.5
No problem to mix 32/64bit imagine plugin on same folder !
You have to put 32bit dll into imagine addons folder, and 64bit dlls into %COMMANDER_PATH%\64 folder. It is the same trick i use for media-info, oracle outside in (for ulister), openssl ...
I never knew that tanks for the info
I know bpg is an experimental format but I remember reading somewhere that apple introduced a "new" h265 i-frame based format that is almost identical to bpg and I wanted to see it in action I used tha xnview plugin for conversion to bpg it's not as bad (encoding speed vise) as google's guetzli jpeg encoder (also shipped with latest xnview-mp)

TW
Senior Member
Senior Member
Posts: 330
Joined: 2005-01-19, 13:35 UTC

Post by *TW » 2017-12-30, 11:57 UTC

nsp wrote:
TW wrote:we know this. but you will run into the problem described by iana on the previous stte when using v0.0.5
No problem to mix 32/64bit imagine plugin on same folder !
You have to put 32bit dll into imagine addons folder, and 64bit dlls into %COMMANDER_PATH%\64 folder. It is the same trick i use for media-info, oracle outside in (for ulister), openssl ...
ah thanks, i never tried it, as said, i don't even use that format. most likely it won't replace jpeg.
licenced and happy TC user since 1994 (#11xx)

User avatar
nsp
Power Member
Power Member
Posts: 1189
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Post by *nsp » 2017-12-30, 12:47 UTC

iana wrote:I know bpg is an experimental format but I remember reading somewhere that apple introduced a "new" h265 i-frame based format that is almost identical to bpg and I wanted to see it in action I used tha xnview plugin for conversion to bpg it's not as bad (encoding speed vise) as google's guetzli jpeg encoder (also shipped with latest xnview-mp)
Apple is using format heif ( .heic file) for ios 11. Even if BPG is very similar, file header is not the same... Nokia is providing an open source implementation https://github.com/nokiatech/heif but not many (non apple) software support the format due to patent...

User avatar
milo1012
Power Member
Power Member
Posts: 1078
Joined: 2012-02-02, 19:23 UTC

Post by *milo1012 » 2017-12-30, 13:54 UTC

nsp wrote:You have to put 32bit dll into imagine addons folder, and 64bit dlls into %COMMANDER_PATH%\64 folder. It is the same trick i use for media-info, oracle outside in (for ulister), openssl ...
A bit offtopic, but I wonder how this is supposed to work.
Most plug-ins use sth like. GetModuleFileName() and use an absolute DLL path.
That's the reason why I recompiled ulister to make both 32- and 64-bit work from the same base dir.
TC plugins: PCREsearch and RegXtract

iana
Senior Member
Senior Member
Posts: 342
Joined: 2010-07-27, 22:00 UTC

Post by *iana » 2018-01-10, 21:39 UTC

nsp wrote:
TW wrote:we know this. but you will run into the problem described by iana on the previous stte when using v0.0.5
No problem to mix 32/64bit imagine plugin on same folder !
You have to put 32bit dll into imagine addons folder, and 64bit dlls into %COMMANDER_PATH%\64 folder. It is the same trick i use for media-info, oracle outside in (for ulister), openssl ...
I know it took me forever to do this ..
but this does not work putting the 64bit avutil-55.dll & swscale-4.dll in c:\totalcmd\64 does nothing imagine does not recognize the formats and lister only shows them as text files
maybe the problem is that a dll (imagine.wlx) loads a dll (bpg.plg64) which needs the dlls in the same folder and can't load them from the current %path% environment

User avatar
nsp
Power Member
Power Member
Posts: 1189
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Post by *nsp » 2018-01-11, 06:54 UTC

iana wrote:
nsp wrote:
TW wrote:we know this. but you will run into the problem described by iana on the previous stte when using v0.0.5
No problem to mix 32/64bit imagine plugin on same folder !
You have to put 32bit dll into imagine addons folder, and 64bit dlls into %COMMANDER_PATH%\64 folder. It is the same trick i use for media-info, oracle outside in (for ulister), openssl ...
I know it took me forever to do this ..
but this does not work putting the 64bit avutil-55.dll & swscale-4.dll in c:\totalcmd\64 does nothing imagine does not recognize the formats and lister only shows them as text files
maybe the problem is that a dll (imagine.wlx) loads a dll (bpg.plg64) which needs the dlls in the same folder and can't load them from the current %path% environment
Have you updated the detection string as multimedia do not recognize BPG ?

Code: Select all

MULTIMEDIA| ext="BPG"
To check if it is a detection problem just try to launch Imagine64.exe from TC and load you BPG file.

iana
Senior Member
Senior Member
Posts: 342
Joined: 2010-07-27, 22:00 UTC

Post by *iana » 2018-01-11, 21:49 UTC

nsp wrote:
iana wrote:
nsp wrote:
TW wrote:we know this. but you will run into the problem described by iana on the previous stte when using v0.0.5
No problem to mix 32/64bit imagine plugin on same folder !
You have to put 32bit dll into imagine addons folder, and 64bit dlls into %COMMANDER_PATH%\64 folder. It is the same trick i use for media-info, oracle outside in (for ulister), openssl ...
I know it took me forever to do this ..
but this does not work putting the 64bit avutil-55.dll & swscale-4.dll in c:\totalcmd\64 does nothing imagine does not recognize the formats and lister only shows them as text files
maybe the problem is that a dll (imagine.wlx) loads a dll (bpg.plg64) which needs the dlls in the same folder and can't load them from the current %path% environment
Have you updated the detection string as multimedia do not recognize BPG ?

Code: Select all

MULTIMEDIA| ext="BPG"
To check if it is a detection problem just try to launch Imagine64.exe from TC and load you BPG file.
no as I saw no need if I keep the x64 dll's in imagine's plugins folder lister (imagine) loads bpg fine if I put the dll's in C:\totalcmd\64 imagine ignores bpg files my only guess is that bpg.plg64 needs the ffmpeg dll's in the same folder not in the %path%
edit #1
I'll run an experiment by putting those dll's in a older in my %path%
edit #2
putting those 2 dll's in a directory that's in your %path% works fine maybe I misunderstood this
You have to put 32bit dll into imagine addons folder, and 64bit dlls into %COMMANDER_PATH%\64 folder. It is the same trick i use for media-info, oracle outside in (for ulister), openssl ...
afaik %COMMANDER_PATH% is c:\totalcmd on my system but putting them in c:\bin64 (I've added that dir to my path and I put 64bit command line apps there) works I might put the 32bit dll's in c:\bin (I put 32bit command line apps there) and not in the plugin folder I might actuelly link xnview's dlls instead of the ones provided by bpg plugin developer

edit #3 this is the output of echo path ran from a console started from TC x64

Code: Select all

C:\>echo %path%
C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:Windows;C:\Windows\Sy
stem32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files(x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Skype\Phone\;C:\bin64;C:\bin;C:\Program Files\gs\gs9.22\bin
there's no C:\totalcmd\64 above? does TC use this dir internally only if it doesn't add it to the system path would imagine.wlx64 know about it?[/code]

eXMarty
Junior Member
Junior Member
Posts: 5
Joined: 2017-06-26, 14:42 UTC

Plugin Imagine - Confirm file deletion

Post by *eXMarty » 2018-07-21, 19:33 UTC

I have set (checked) to confirm deletion of files
(in plugin)

Code: Select all

"Option > References > Miscellaneous > Confirm to delete files"
and

Code: Select all

ConfirmToDeletion = 1
is saved in the "Imafine.ini" setup file.

Still, the file is deleted when click delete button without displaying a query dialog.

Does anyone have the same experience? Does anyone know the solution to the problem? Or, it's better to use something else instead of Imagine plugin?

Thanks!

Windows 10, TC 9.12

User avatar
Hacker
Moderator
Moderator
Posts: 10999
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker » 2018-07-21, 21:19 UTC

Message from moderator

Merged thread Plugin Imagine - Confirm file deletion.

Hacker (Moderator)
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.

Post Reply