PL8.2.1 Fails to set 'Distortion' to the Auto value and leaves it stuck at 0

@Wlodek You mean to format the DOP more like the I’ve seen from Mac users in the past?

Sidecar = {
    Date = "2024-12-16T11:58:46.1842276Z",
    Software = "DxO PhotoLab 8.2.1",
    Source = {
        CafId = "C61004c",
        Items = { {
                Albums = "",
                CreationDate = "2024-12-14T16:37:30.4827374Z",
                IPTC = {
                    contentDescription = "[M]",
                    contentHeadline = "CA OFF",
                },
                Keywords = {},
                ModificationDate = "2024-12-16T10:46:45.8695362Z",
                Name = "P1112299.RW2",
                Orientation = 1,
                OutputItems = { {
                        CreationDate = "2024-12-16T00:35:23.9319934Z",
                        Name = "P1112299_PL821R NR(-) CA(-).jpg",
                        OutputFormat = {},
                        Uuid = "07539432-7E71-4E28-BE80-FAD619A2CC88",
                    },
                },
                ProcessingStatus = 6,
                Rating = 0,
                Settings = {
                    AppliedPresetDisplayName = "077 - SL(7St) CV(50) C(0) Fc(20) LS(S) TC(+) LA(GF)P",
                    AppliedPresetUniqueName = [[0 - DXO Simple Presets \ 077 - SL(7St)CV(50)C(0)Fc(20)LS(S)TC( + )LA(GF)P.preset]],
                    Base = {
                        VignettingClippingAuto = true,
                        WatermarkTextOpacity = 1,
                        ColorRenderingType = "Original",
                        LightingPriorityRegions = {},
                        WatermarkImageTopMargin = 0,
                        ChromaticAberrationLateralActive = true,
                        HighlightToningCustomHue = 0,
                        ColorLookupIntensity = 100,
                        ToneCurveGreenGamma = 1,
                        LowlightToningCustomSaturation = 50,
                        VignettedBlurRoundness = 50,
                        DistortionAnamorphosisKeepEntireImage = false,
                        ContrastEnhancementHighlightIntensity = 0,
                        WatermarkImageLeftMargin = 0,

Yes. You may use the following very simple GAWK code to reformat Win PL8 DOP files. Note that the code requires some fix to handle PL7 dops, due to ‘Items {{’. You may also replace ‘\t’ with two or four spaces, whatever you prefer, or adapt it to Perl or C/C++.

#
# Reformat PL8/Win DOP files
#
{
	if (match($0, /}/)) {
		n_tabs--;
		if (n_tabs < 0) {
			printf("### FATAL ### n_tabs=%d: \"%s\"\n", n_tabs, $0) > "/dev/stderr";
			exit;
		}
	}
	for (i = 1; i <= n_tabs; i++) printf("\t");
	printf("%s\n", $0);
	if (match($0, /{/)) n_tabs++;
	next;
}
1 Like

@Wlodek Yet more things to occupy my time, my wife will be pleased (not).

Thanks for the info, now back to cleaning and tidying in preparation for some festival that is coming up!?

With the Crop tool activated, you should see it at bottom RHS of the crop outline …

  • For example: image

I’ve written a little app that does just that … Happy to share it, if others are interested (?)

@John-M Arguably anything that allows users that want to dig a little deeper into the workings of DxPL do just that is always welcome, from my perspective, so publish away, complete with standard disclaimers of course. :wink:

With respect to the crop “issue” it may come as a “shock” to you but I am not sure I have ever used the crop function other to make my “normal” settings, i.e. avoiding the crop tool altogether
image

So I had a play and made a video, as you do. But writing these posts is time consuming enough without trying to annotate a video so it was a bit “random”.

So here are some snapshots instead







@John-M I am glad we went down this “alley”, it has been very useful, to me at least.

1 Like

Not the only one.

Some time ago I went back to an old edit (not sure which PL versions).

Could not read the dop file, eventually support revealed a change in one line:

" " had become ’ ', IIRC. Not helpful and a pain to edit if required for multiple files.

So much for going back into a “non-destructive edit” chain.

And then there is the NIK collection. Formerly you effectively lost all prior work as you could only have one version installed.

Thankfully that has now changed as you can have multiple versions installed now (I can re-edit files I did this summer)…

Richard

Off-topic:

Thanks for pointing that out. I started PL with 7.1 so not too much experience…

I don’t get it. I just bought Nik7, with little SEP experience in ancient pre-Google times. How can you save your edits in Nik7? For me, it’s one of the very basic things missing in Nik7. You can save your work in a preset but that’s not automatic and crazy to do it per photo, imho. Since DxO says it has finished rewrting Nik after 6 years in Oct 2023, there’s some hope they will fully integrate it in PL soon (<2029 ?).

That is highly unlikely to ever happen for a number of reasons that I have touched on many times over the years. I wouldn’t hold my breath waiting for it.

Mark

But it seems there’s a lot of “frozen” Nik code in PL – just use the sysinternals (or Cygwin, or Unix) ‘strings’ command…

Save as a preset if you think that you will use it frequently.

However, I go from PS to NIK and create a SmartObject. That way I can get back to whatever I last had. It does not show which preset I started with, just the final settings.

The problem was that if edited in version x, then you upgraded to x+1, you could not access it (the installer removed previous versions). Now, you can keep old versions so you can redo your work.

Because NIK (At least Silver EfEx) regenerated the conversion if you cropped the image you could not even do that.

Richard

I think I had something different in mind – to save the actual edits not their results. I would like Nik to behave like PL, saving my edits in a DOP file. I use SilverEfex and ColorEfex on TIFF files exported by PL, so I always can go back and regenerate the source TIFF in PL.

From my short SEP experience, the “good” settings are very photo-specific, even for photos of the same “type”. So, if I want to fine-tune some settings the next day, I have to start anew, or use my notes, or use per-photo preset.

There is no information exchange between PL and Nik. PL just spawns some Nik process, passing it only a TIFF and “disconnects”, without recording Nik edits. There’s no edit info left in the TIFF generated by Nik either.

What exactly did the installer remove (preset, TIFF, …)? OK, I’m not really interested in the answer, as that is ancient history for me :slight_smile:
I didn’t use previous DxO Nik versions, hence my confusion, sorry.

Erh … It’s been possible since the beginning (tho, not well documented) …

AFAIK, there are no more .np files in Nik7. I think these were first versions of Nikon Picure Control files (you have NP3 by now, but only in NX Studio).

If you go from PL >Tif>PS> NIK as a SmartObject you can only reuse the settings on that specific file.

If there was a DOP route, you would need to edit the file as it contains references to the image it is associated with, not just linked by the filename.

This points to presets as the route to preserve edits for specific effects/input file types.

There is another route with SmartObjects, replace the image content… I’ve not tried this, but it might work for overall changes. However, any Selective adjustments would likely be in the wrong place.

Layer > Smart Objects > Replace Contents

From my short SEP experience, the “good” settings are very photo-specific, even for photos of the same “type”. So, if I want to fine-tune some settings the next day, I have to start anew, or use my notes, or use per-photo preset.
[/quote]

For the same file, just edit the SO - It will take you into NIK where you left off.

Correct. I always go through an exported Tif and PS as I do work in PS before going into NIK.

The NIK installer removed the entire App… No way to reuse files created with it. You had to start form scratch with the new version, even if it was in a SO.

Richard

I don’t use PS, but probably this will just take me back to the TIFF generated by Nik, without any info about how it was processed in Nik. It’s just like going back to Nik generated file, with no info on prior Nik edits. Since Nik is not only about LUT-like editing, it may be far from satisfactory. Another point is that after some time you may want to know how you got this result from SEP. For a newcommer it certainly won’t be easy, but I suspect that even experienced people might have problems to reproduce some creative edits in Nik

Wlodek

36m

I don’t use PS, but probably this will just take me back to the TIFF generated by Nik, without any info about how it was processed in Nik. It’s just like going back to Nik generated file, with no info on prior Nik edits. Since Nik is not only about LUT-like editing, it may be far from satisfactory. Another point is that after some time you may want to know how you got this result from SEP. For a newcommer it certainly won’t be easy, but I suspect that even experienced people might have problems to reproduce some creative edits in Nik

It will show the edit values, but not how you got there (ie what’s different to the preset you used.)

This is why I go the PS>SO>NIK route.

Richard

1 Like

I don’t have Nik7 installed, so I can’t check - but I believe the .np files are now replaced by .json equivalents … Same thing, essentially, just different format.

Yes, that’s effectively what I’m saying … One can save ALL details for the current file being “edited” by CEP or SEP … as follows;


PS. This is now way off-topic … Apologies the OP !

@John-M It certainly is and since I don’t use Nik, although I have the old Google version installed on one of my machines, the Nik posts are way over my head.

However,

  1. The original @Wlodek post about the change in DOP format and the @Rich-1 comment also about the one line change in the DOP are both potentially useful to all users, depending on their circumstances, i.e. when the change occurred. Something in my memory seems to think I … no its gone but my DOP analyser could be used to change DOPs, by making a fixed set of DOPs, but only after I have made it more user friendly. It currently uses only the ‘Debug’ for output which is not available for compiled programs.!

  2. Nik is of no particular interest to me and providing users who would benefit from the posts can find them here, and they already include particular references from @John-M which Nik users may find useful, then use this topic for any such discussions and/or start a new one, I don’t mind.

Your screenshots #1 to 7 show normal behavior.

  • The image content (after cropping) depends on
    whether you want to keep your camera’s aspect ratio.

  • #5 + 6 show how much your lens at the given focal length distorts,
    that is you can make use of the “wider” picture (here 1,38 instead of 4:3).