photools.com Community

IMatch Bug Reports and Feature Requests => Bug Reports => Solved Bug Reports (for next version) => Topic started by: dkyndt on September 21, 2023, 10:21:45 PM

Title: Batch Processor: text overlay
Post by: dkyndt on September 21, 2023, 10:21:45 PM
Hi, 

I'm using the batch processor to overlay some keywords in a text bar on the image.

I see some unexpected behaviour. 
In your documentation about the batch processor, you say that when putting the "-1", the width is across the whole image. This behavior is correct, however, my text generated is then wrapped across 2 lines, instead of 1.
This behavious is also there van the width is set to "0"

On the other hand, when I type the actual image width, my text generated is on one line, as I should expect.
See image attached.

https://www.photools.com/help/imatch/impexp_batchprocessor.htm?dl=hid-43 (https://www.photools.com/help/imatch/impexp_batchprocessor.htm?dl=hid-43)


Title: Re: Batch Processor: text overlay
Post by: Mario on September 22, 2023, 03:45:00 PM
I can only reproduce this using your settings only at random. It seems somehow to depend on the text length, but longer text does not make it wrap always.

This is the text for the overlay | With Pipes And another | Pipe | And Pipe 2

does not wrap, but

This is the text for the overlay | With Pipes And another | Pipe | And Pipe

wraps into a second line...!?
Very strange. Looks like some issue with the XAML rendering engine or something.
Title: Re: Batch Processor: text overlay
Post by: Mario on September 22, 2023, 04:30:26 PM
This random line-wrap issue seems to be an issue with the XAML rendering engine in combination with the Auto setting for width.
Fixed this by specifying the calculated actual width/height. Fixed for the next release.