Neue Testversion 21.40b5

Hier diskutieren die Betatester von PhotoLine untereinander und mit den Entwicklern
Benutzeravatar
Gerhard Huber
Entwickler
Entwickler
Beiträge: 4143
Registriert: Mo 18 Nov 2002 15:30
Wohnort: Bad Gögging

Neue Testversion 21.40b5

Beitrag von Gerhard Huber »

Hallo,

es gibt wieder eine neue Testversion 21.40b5.

Windows:
http://www.pl32.com/beta/pl2140b5.zip

Mac OS:
http://www.pl32.com/beta/plx2140b5.zip


Neues:
  • macOS: unter 10.14 wird jetzt auch die native dunkle Oberfläche unterstützt, und man sollte trotzdem noch Scrollen können :-)
  • Linsenkorrektur, Lensfun: Optional werden nur noch die zur Kamera passenden Linsen angezeigt
  • Vektorebene, Muster zuweisen: Bei gedrückter Alt-Taste bleibt Transformation erhalten
  • Datei auf Dokument ziehen, Platzhalter: Durch Drücken von Umschalt wird die Datei nicht in einen Platzhalter gezogen
  • Linsenkorrektur: Behandlung ohne passendes Objektiv verbessert
  • Textebenen, Registerhaltigkeit, Formsatz: Die erste Zeile eines Textrahmens war u.U. nicht registerhaltig
  • Textregister: Zeichnete manchmal eine Linie nicht
  • Textebenen, Rechtschreibkorrektur: Die Rechtschreibkorrektur wird nur noch im Textwerkzeug für die aktive Ebene angezeigt
  • Textebenen, Rechtschreibkorrektur: Die Rechtschreibkorrektur wird in Dokumenten mit Grauprofil jetzt farbig angezeigt
  • Textebenen, Formsatz: Umflussabstand kann nun für mehrere Ebenen gleichzeitig geändert werden
  • Messwerkzeug übernimmt dpi vom Dokument
  • RawLib: Aktualisiert 9.28
  • PNGLib: Aktualisiert 1.6.35
  • ExplatLib: Aktualisiert 2.2.6
  • diverse kleinere Änderungen
New:
  • macOS: Support of the native dark UI on 10.14, and scrolling should still work :-)
  • Lens correction, Lensfun: Optionally only the lenses matching the camera are displayed
  • Vector layers, assigning a pattern: Transformation is retained when Alt key is held down
  • Drag file to document, placeholder: Pressing Shift does not drag file into placeholder
  • Lens correction: Handling without a suitable lens improved
  • Text layer, text in register, shape flow: The first line of a text frame may not have been correctly in register.
  • Text in register: sometimes the register lines were redrawn incorrectly
  • Text layers, spellchecker: The spellchecker is now only displayed in the Text tool for the active layer.
  • Text layers, spell checker: The spell checker is now displayed with colors in documents with gray profile
  • Text planes, shape flow: Flow distance can now be changed for several layers at once
  • Measuring tool adopts dpi from document
  • RawLib: Updated 9.28
  • PNGLib: Updated 1.6.35
  • ExplatLib: Updated 2.2.6
  • Various minor changes
Achtung: Die macOS-Version wurde durch eine aktualisierte Version ersetzt, bei der Scrolling unter 10.14 repariert ist.

Attention: The macOS version has been replaced by a new one fixing the scrolling problem on 10.14.
Paul
Mitglied
Beiträge: 235
Registriert: Fr 19 Dez 2008 11:36

Re: Neue Testversion 21.40b5

Beitrag von Paul »

Hi,

scrolling does not work over here. macOS 10.14. The content of the window is not updated when scrolling. Also the font list.
So far, the text register and flow problems are solved. Thanks!
- Paul
Benutzeravatar
russellcottrell
Mitglied
Beiträge: 251
Registriert: Sa 26 Jul 2014 10:13
Wohnort: California

Re: Neue Testversion 21.40b5

Beitrag von russellcottrell »

Lensfun is working better with .CR2 files, finding the camera and exif data.
Benutzeravatar
Herbert123
Mitglied
Beiträge: 2140
Registriert: Sa 12 Mai 2012 21:38

Re: Neue Testversion 21.40b5

Beitrag von Herbert123 »

Thank you for the new version!

Unfortunately this version breaks patterns that are based on multiple layers, and the result is a very dark pattern. And holding down <ALT> to retain the pattern transformation doesn't work either - I tried both ALT keys and other key combinations.
/*---------------------------------------------*/
System: Win10 64bit - i7 920@3.6Ghz, p6t Deluxe v1, 48gb (6x8gb RipjawsX), Nvidia GTX1080 8GB, Revodrive X2 240gb, e-mu 1820, 2XSamsung SA850 (2560*1440) and 1XHP2408H 1920*1200 portrait
Martin Huber
Entwickler
Entwickler
Beiträge: 4159
Registriert: Di 19 Nov 2002 15:49

Re: Neue Testversion 21.40b5

Beitrag von Martin Huber »

Paul hat geschrieben: Mi 31 Okt 2018 09:30scrolling does not work over here. macOS 10.14.
My fault. The fix was only enabled in my local version :-(
I have replaced the file on the server with a corrected version that will hopefully work. At least it works here.

Martin
Martin Huber
Entwickler
Entwickler
Beiträge: 4159
Registriert: Di 19 Nov 2002 15:49

Re: Neue Testversion 21.40b5

Beitrag von Martin Huber »

Herbert123 hat geschrieben: Mi 31 Okt 2018 16:52Unfortunately this version breaks patterns that are based on multiple layers, and the result is a very dark pattern.
I can't see a problem here. Do you have a sample document?
Herbert123 hat geschrieben: Mi 31 Okt 2018 16:52And holding down <ALT> to retain the pattern transformation doesn't work either - I tried both ALT keys and other key combinations.
Yes, you are right. Alt doesn't work in the pattern list ("View > Lists > Pattern List"). It works with the drop-down lists available through the color fields in the toolbar, though.
I will fix that.

Martin
Benutzeravatar
Herbert123
Mitglied
Beiträge: 2140
Registriert: Sa 12 Mai 2012 21:38

Re: Neue Testversion 21.40b5

Beitrag von Herbert123 »

Here is a sample document demonstrating the weird dark pattern (bottom right, top layer). The more layers in the pattern, the darker it gets.

http://www.upl.co/uploads/163739page1541052863.zip
/*---------------------------------------------*/
System: Win10 64bit - i7 920@3.6Ghz, p6t Deluxe v1, 48gb (6x8gb RipjawsX), Nvidia GTX1080 8GB, Revodrive X2 240gb, e-mu 1820, 2XSamsung SA850 (2560*1440) and 1XHP2408H 1920*1200 portrait
Benutzeravatar
Herbert123
Mitglied
Beiträge: 2140
Registriert: Sa 12 Mai 2012 21:38

Re: Neue Testversion 21.40b5

Beitrag von Herbert123 »

By the way, what script command would I use to write and/or amend a text file from PhotoLine? Suppose I'd want to loop through the layers of a document, list the layer names in a text file? I've tried a number of commands, but none seem to work so far.
/*---------------------------------------------*/
System: Win10 64bit - i7 920@3.6Ghz, p6t Deluxe v1, 48gb (6x8gb RipjawsX), Nvidia GTX1080 8GB, Revodrive X2 240gb, e-mu 1820, 2XSamsung SA850 (2560*1440) and 1XHP2408H 1920*1200 portrait
wmjordan
Mitglied
Beiträge: 80
Registriert: Mi 14 Apr 2004 16:33

Adding icon into document crashes PL

Beitrag von wmjordan »

Reproduction of this bug:

1, Open PL32 21.4b5
2, Open agent_64px_558155_easyicon.net.ico
3, Switch to the document mode
4, Add another file, for instance, agent_48px_558155_easyicon.net, via the Load Page command
5, PL crashes

Sample files were attached.
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
Benutzeravatar
russellcottrell
Mitglied
Beiträge: 251
Registriert: Sa 26 Jul 2014 10:13
Wohnort: California

Re: Neue Testversion 21.40b5

Beitrag von russellcottrell »

By the way, what script command would I use to write and/or amend a text file from PhotoLine? Suppose I'd want to loop through the layers of a document, list the layer names in a text file? I've tried a number of commands, but none seem to work so far.
listAllLayers.vbs

Code: Alles auswählen

Dim pl, doc
Dim txt, path, textFile, fso, f

Set pl = CreateObject("PhotoLine.Application")
Set doc = pl.ActiveDocument
pl.Visible = True

txt = ""

listLayers doc.RootLayer, 0

path = Mid(doc.Path, 1, InStrRev(doc.Path, "\"))
textFile = path & "layers.txt"
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.OpenTextFile(textFile, 2, True)
f.Write txt
f.Close

MsgBox textFile & " created."



Sub listLayers(layer, n)

  Dim item, itemName, itemType, itemVisible

  itemName = layer.Name
  If itemName = "" Then itemName = "[Name]"

  itemType = layer.Type
  Select Case itemType
    Case 1
      itemType = "Image"
    Case 2
      itemType = "Vector"
    Case 4
      itemType = "Text"
    Case 8
      itemType = "Group"
    Case 16
      itemType = "Virtual Copy"
    Case 32
      itemType = "Placeholder"
  End Select

  itemVisible = "Visible"
  If Not layer.Visible Then itemVisible = "Hidden"

  txt = txt & String(n*2, " ") & itemName & ", " & itemType & ", " & itemVisible & VbCrLf

  For Each item In layer
    listLayers item, n+1
  Next

End Sub
Benutzeravatar
Herbert123
Mitglied
Beiträge: 2140
Registriert: Sa 12 Mai 2012 21:38

Re: Neue Testversion 21.40b5

Beitrag von Herbert123 »

russellcottrell hat geschrieben: Do 01 Nov 2018 17:18 code
Awesome, thank you.
/*---------------------------------------------*/
System: Win10 64bit - i7 920@3.6Ghz, p6t Deluxe v1, 48gb (6x8gb RipjawsX), Nvidia GTX1080 8GB, Revodrive X2 240gb, e-mu 1820, 2XSamsung SA850 (2560*1440) and 1XHP2408H 1920*1200 portrait
Benutzeravatar
russellcottrell
Mitglied
Beiträge: 251
Registriert: Sa 26 Jul 2014 10:13
Wohnort: California

Re: Neue Testversion 21.40b5

Beitrag von russellcottrell »

Hello; is there a way to create a new image via scripting? I do not see it in the documentation, and it cannot be done with an action directly. I recorded an action that creates a new document and an image layer then flattens it, but it cannot be scripted because there is no document, and pl.DoOperation doesn't work.
Martin Huber
Entwickler
Entwickler
Beiträge: 4159
Registriert: Di 19 Nov 2002 15:49

Re: Neue Testversion 21.40b5

Beitrag von Martin Huber »

Herbert123 hat geschrieben: Do 01 Nov 2018 08:15 Here is a sample document demonstrating the weird dark pattern (bottom right, top layer). The more layers in the pattern, the darker it gets.
The patterns are darker because of the two spot colors in the document. As an intermediate fix you can delete those two colors in the document color list and the patterns should be displayed correctly.

I will fix the underlying problem.

Martin
Martin Huber
Entwickler
Entwickler
Beiträge: 4159
Registriert: Di 19 Nov 2002 15:49

Re: Neue Testversion 21.40b5

Beitrag von Martin Huber »

russellcottrell hat geschrieben: Fr 02 Nov 2018 05:47 Hello; is there a way to create a new image via scripting? I do not see it in the documentation, and it cannot be done with an action directly. I recorded an action that creates a new document and an image layer then flattens it, but it cannot be scripted because there is no document, and pl.DoOperation doesn't work.
I don't fully understand your post. Do you want to create a document in picture mode with a give size?
If so, the following script does this:

Code: Alles auswählen

Dim pl
Dim doc
Dim image

Set pl = CreateObject("PhotoLine.Application")

pl.Visible = True
' Create a new, empty document
Set doc = CreateObject("PhotoLine.Document")
If (Not doc Is Nothing) Then
	' Turn on picture mode
	doc.DocumentMode = False
	' Create an image, RGB (1), size (800;600)
	Set image = CreateObject("PhotoLine.Image")
	image.InitPicture 1, Array(800, 600)
	' Insert the image in the document. The document will adjust its size
	' to the image size.
	doc.RootLayer.Insert image, -1
End If
Martin
Martin Huber
Entwickler
Entwickler
Beiträge: 4159
Registriert: Di 19 Nov 2002 15:49

Re: Adding icon into document crashes PL

Beitrag von Martin Huber »

wmjordan hat geschrieben: Do 01 Nov 2018 12:16 Reproduction of this bug:

1, Open PL32 21.4b5
2, Open agent_64px_558155_easyicon.net.ico
3, Switch to the document mode
4, Add another file, for instance, agent_48px_558155_easyicon.net, via the Load Page command
5, PL crashes
This will work in the next version.

Martin