XnRetro 1.26: Light effect don't work

More Multi Platform Tools - Windows, MacOSX, Linux

Moderators: XnTriq, helmut, xnview

optom
Posts: 2
Joined: Tue Apr 30, 2013 5:44 pm

XnRetro 1.26: Light effect don't work

Post by optom »

Hello!

I've just downloaded XnRetro (1.26) for Linux. First of all: I'm using the 32bit version on my Ubuntu 13.04 64bit machine. Unfortunately, your link to the 64bit version is broken.

The main problem: Light effects don't work. Doesn't matter which one I choose, they don't apply to the image. Also, there are no light effect previews in the bottom bar, see screenshot:

Image

Everything else seems to work fine :)
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: Light effect don't work

Post by oops66 »

Hello,
Right, same here.


PS: It will be interesting to also have the set of "kodak filters" or similar "Wratten numbers" effects:
Image
http://en.wikipedia.org/wiki/Wratten_number
http://web.archive.org/web/200910281923 ... ection.htm
XnViewMP Linux X64 - Debian - X64
User avatar
XnTriq
Moderator & Librarian
Posts: 6336
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Light effect don't work

Post by XnTriq »

oops66 wrote:PS: It will be interesting to also have the set of "kodak filters" or similar "Wratten numbers" effects:
Very interesting! Thanks for the links, oops66 :-)
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: Light effect don't work

Post by oops66 »

You're welcome XnTriq :)
XnViewMP Linux X64 - Debian - X64
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Light effect don't work

Post by xnview »

Ok, i can reproduce on ubuntu 12 (or 13) 64bits only if i run the 32bits version of XnRetro, the problem is with jpeg
jpeg files can't be loaded or saved...
Pierre.
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: Light effect don't work

Post by oops66 »

xnview wrote:Ok, i can reproduce on ubuntu 12 (or 13) 64bits only if i run the 32bits version of XnRetro, the problem is with jpeg
jpeg files can't be loaded or saved...
Hello Pierre,
Yes, here (Ubuntu 12.04 LTS-X64 + XnRetro 32bits) .jpg files can be loaded but not saved, same for .png file too (for example)... So here: Light effects doesn't work + save doesn't work too ...

PS: FYI: XnRetro is only available in 32bits for the linux version here (linux tgz 32):
http://www.xnview.com/en/xnretro/
http://www.xnview.com/fr/xnretro/
and here too (the link: "linux X64 tgz" does not work):
http://newsgroup.xnview.com/viewtopic.p ... 08#p105008
XnViewMP Linux X64 - Debian - X64
optom
Posts: 2
Joined: Tue Apr 30, 2013 5:44 pm

Re: Light effect don't work

Post by optom »

oops66 wrote:.jpg files can be loaded but not saved, same for .png file too (for example)...
Well, PNG export works fine for me, doesn't matter if i load jpg or png files, but yes, JPG export fails.
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: Light effect don't work

Post by oops66 »

Right, ... a mistake sorry ... So here: Light effects doesn't work + save doesn't work for jpeg choose only.

PS: I have also tried: XnSketch 1.14 - linux tgz 32 ... and it crashes when I load a jpg or png file.
http://www.xnview.com/fr/xnsketch/
XnViewMP Linux X64 - Debian - X64
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Light effect don't work

Post by xnview »

Ok, the solution is to install libjpeg62

Code: Select all

sudo apt-get install libjpeg62:i386
Pierre.
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: Light effect don't work

Post by oops66 »

Hello Pierre,
Right, that works here now, thanks.
XnViewMP Linux X64 - Debian - X64
Melvin
Posts: 1
Joined: Wed May 15, 2013 9:31 pm

Re: Light effect don't work

Post by Melvin »

I installed libjpeg62 package but still no light effects and can't save files
OS Ubuntu 13.04 64 bit
Tried on two systems. No success!
HarD
Posts: 2
Joined: Wed Oct 16, 2013 7:07 am

Re: Light effect don't work

Post by HarD »

Melvin wrote:I installed libjpeg62 package but still no light effects and can't save files
OS Ubuntu 13.04 64 bit
Tried on two systems. No success!
I have same problem
valhallasystems
Posts: 2
Joined: Mon Sep 01, 2014 5:52 pm

Re: Light effect don't work

Post by valhallasystems »

I had the same problems. After studying the thread and installing libjpeg62 (which did not work) I came up with this work around.
1. go to the location of XnRetro. In my case, it is in my home folder, in a folder called "bin". That's where I put all the programs installed as tarballs. Your location will likely differ.
2. go to the folder containing XnRetro and look for the folder "light". Open it.
3. Make a backup of the file "light.xml".
4. All the jpg files in this folder are the overlays for light effects. You need to convert them all to .png format. You can do this manually using your image viewer and Save-as, or if you are adventurous you can use XnConvert. Just changing the extension will not work.
5. Now edit light.xml. Edit the extensions of all the files "Bokeh-2.jpg" "Bokeh-4.jpg" etc to .png (the ones you just created). Save light.xml. That's why you made a back-up.

Now light effects should work. They did for me. Or at least they have so far, I have not yet finished my conversions, but the ones I have done have worked as expected.

Its all tied up in the way XnRetro handles .jpg files. It appears to open .jpg files for editing, but will not save them, you have to save your finished product as a png. Similarly it appears to expect its overlays as .png files. If you look at the folders "vignette" and "frame" you will see that the overlays in those are all .pngs, because .png files support transparencies. I suspect the overlay engine in XnRetro expects transparancies and will thus not read .jpgs since they do not support transparencies. Only Pierre can answer this definitively.
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Light effect don't work

Post by xnview »

valhallasystems wrote:I had the same problems. After studying the thread and installing libjpeg62 (which did not work) I came up with this work around.
and no problem to save/load jpeg files?
Pierre.
valhallasystems
Posts: 2
Joined: Mon Sep 01, 2014 5:52 pm

Re: Light effect don't work

Post by valhallasystems »

Good question:

First, I'm using Mint 17, 64bit, Cinnamon DM

Now to answer your question. Now that I've "fixed" LIGHT in XnRetro and have installed libjpeg62, I note the following:
I. Xnretro reads .jpg files to edit (just about everything I have is in that format). It would do that before libjpeg62 was installed. However, as noted earlier it will not read the .jpg files containing the light overlays. They had to be converted to .png to work.

2. XnRetro will not save .jpg or .jpeg files, even if JPG is flagged in the File Save dialogue box. No files appear in the target folder. No error messages appear.

3. XnRetro will save .png files, but PNG needs to be flagged in the File Save Dialogue box and the extension on the File name line needs to be changed to .png

4. XnRetro will save a file called .jpg if that is the name on the File name line and PGN is flagged in the File Save dialogue box. The output file is in the .png format but the extension is .jpg. As a result, my file system can't handle the file, unless I manually change the extension to .png. Then the file system will handle and properly display the file.

Hope this clarifies.
Post Reply