OS2 World Community Forum

OS/2, eCS & ArcaOS - Technical => Applications => Topic started by: Bernhard Pöttinger on April 23, 2024, 02:46:53 pm

Title: Nomacs Image Viewer
Post by: Bernhard Pöttinger on April 23, 2024, 02:46:53 pm
Hello,
I have tried nomacs image viewer, downloaded from netlabs. The newest OS/2 version 2.4.6. When I try to start the app a get an error the the file jasper1 is missing. The jasper1.dll is called from raw15.dll in the nomacs directory.

Does anybody know where I can find this dll. "yum whatprovides" commando does not show anything and searching the web does not bring some light to me.

BTW version 2.4.2 does run well.

best regards
Bernhard
Title: Re: Nomacs Image Viewer
Post by: Andy Willis on April 24, 2024, 04:39:50 am
I do not know if it is in rel or exp but I have installed jasper through yum.
Title: Re: Nomacs Image Viewer
Post by: Dave Yeo on April 24, 2024, 07:47:47 am
Jasper-libs-2.0.22-1.c00 is in netlabs-rel but contains jasper.dll, not jasper1.dll
Title: Re: Nomacs Image Viewer
Post by: TeLLie on April 24, 2024, 04:12:38 pm
Hello Bernard,

I must have it some where on some older HD.
I will look when i have time to see if i still got it.
Otherwise i will try to port it to QT5 with latest dll's.

Kind regards, Tellie

Title: Re: Nomacs Image Viewer
Post by: Bernhard Pöttinger on April 25, 2024, 01:25:47 pm
Hello,
I have found libraw-os2-r0_15_04.zip, and in this archive I found libraw.dll. I renamed this dll to raw.dll and copied it in the nomacs directory. Now nomacs 2.4.6 is running but produces errors and warnings:

Error: XMP Toolkit error 203: Duplicate property or field node
Warning: Failed to decode XMP metadata.

@Tellie: a qt5 port would be great!

Thx, bernhard
Title: Re: Nomacs Image Viewer
Post by: TeLLie on April 25, 2024, 09:26:27 pm
Hello Bernald,

Renaming dll is not a very good idea.
I did a quick QT5 port, had to disable OpenCV as i dont have it, this also means i had also disable Tiff and Raw.

I only started it and load a jpg, this worked.

With kind regards, TeLLie
Title: Re: Nomacs Image Viewer
Post by: Bernhard Pöttinger on April 26, 2024, 09:21:32 am
Hi Tellie,
I have done a quick check of your qt6 app. It ist working well and is a lot faster than the old qt4 app.
thanks and best regards
Bernhard
Title: Re: Nomacs Image Viewer
Post by: Martin Iturbide on April 26, 2024, 04:21:30 pm
Hi Tellie
Hello Bernald,

Renaming dll is not a very good idea.
I did a quick QT5 port, had to disable OpenCV as i dont have it, this also means i had also disable Tiff and Raw.
I have a confusion here.
I run nomacs.exe on a machine that does not have Qt6, only Qt5 and it says:
"SYS1804: The system cannot find the file QT6CORE."
- Nomacs.exe has not Qt5 dependency.
- quazi140.dll is the one that has the Qt6 dependency.

It is that how you meant it to be ?  "quazi140.dll" does not compile on Qt5 ?

Regards
Title: Re: Nomacs Image Viewer
Post by: TeLLie on April 26, 2024, 07:14:38 pm
Hi Martin,

Oeps you're correct i used the wrong one to link with it.

This dll is compiled with QT5, so please use this one if you dont have Qt6....

With kind regards, Tellie
Title: Re: Nomacs Image Viewer
Post by: Martin Iturbide on April 27, 2024, 12:09:31 am
Thanks Tellie
Title: Re: Nomacs Image Viewer
Post by: roberto on April 30, 2024, 08:19:22 pm
Hi Tellie,
When you left us the qt6 version, I installed it, and put the qt6core.dll in the same folder of the nomacs.
I ran it and it worked perfectly, and I looked at a lot of photos and a lot of folders.
But, days later I wanted to open it again and it closed, seconds after opening. With an error in exceptq.
Editing the profile, I saw a mega line of a length of approximately 1600 columns, created with the qt6
They were the paths of each photo.
With the epm I left the line at about 600 characters.
I tried on the QT5 version, and it worked perfectly.
I put it back with the QT6 version, and it still works perfectly.
My conclusion : To have a correct profile in Qt6, you first have to have it created in Qt5.
Saludos