Difference of "Export to Project: Display" and "tv_SaveDisplay" george command

Please use this part to report bugs & errors, ask questions & "How to..."
Post Reply
User avatar
Hironori Takagi
Posts: 305
Joined: 14 May 2018, 10:15
Location: Tokyo, Japan
Contact:

Difference of "Export to Project: Display" and "tv_SaveDisplay" george command

Post by Hironori Takagi »

I found difference of "Export to Project: Display" and "tv_SaveDisplay" george command.
Is it possible to resolve the issue of dpi not being reflected by the "tv_SaveDisplay" george command?
q119.jpg
P.S.
I discovered the tv_GetExternalImageDpi command in the TVPaint12 documentation and confirmed that this function is also available in TVPaint11.7.3.
This addition is an important step forward in moving between paper and data.
TVPaint 11.7.2(Nov 14 2023), Windows11 Pro, HP Spectre x360 Convertible 14-ea0xxx / TVPaint 11.7.1(Dec 22 2022) Mac OS 11.6, Apple MacBookPro M1 2020
User avatar
Léo
Site Admin
Posts: 1094
Joined: 24 Jul 2012, 15:40

Re: Difference of "Export to Project: Display" and "tv_SaveDisplay" george command

Post by Léo »

Hello Hironori Takagi,
When we use the George "tv_SaveDisplay" command, we save without specifying any resolution for the DPI.
By default, a saved image (JPEG, PNG) will therefore take the DPI of the project, if no resolution is specified.
And there is nothing to modify, via George, to modify this resolution.
So, if you save your project which has 300 DPI as a JPEG via the George command, the generated JPEG will have 300 DPI.
Léo Fernandez
TVPaint Q&A and Lead Animator, TVPaint Beta-Tester
Windows 11 AMD Ryzen 7 7745HX with Radeon Graphics CPU @ 3.60 GHz,
32 GB RAM , TVPaint PRO 11.7.3 and 12 - 64bit , Wacom Cintiq 24 Pro.
Wacom driver version 6.4.2-3
User avatar
Hironori Takagi
Posts: 305
Joined: 14 May 2018, 10:15
Location: Tokyo, Japan
Contact:

Re: Difference of "Export to Project: Display" and "tv_SaveDisplay" george command

Post by Hironori Takagi »

Léo wrote: 25 Jul 2024, 08:13 Hello Hironori Takagi,
When we use the George "tv_SaveDisplay" command, we save without specifying any resolution for the DPI.
By default, a saved image (JPEG, PNG) will therefore take the DPI of the project, if no resolution is specified.
And there is nothing to modify, via George, to modify this resolution.
So, if you save your project which has 300 DPI as a JPEG via the George command, the generated JPEG will have 300 DPI.
Thank you for your response.
The attached image is a pointing out that when you run File > Export from the same project (150dpi),
the dpi is preserved (150dpi), but when you output the result with tv_SaveDisplay, the dpi is not preserved (not set).
By the way, with tv_ClipSaveStructure, the project resolution is preserved for jpeg and png,
but not for psd and tiff, which can actually record dpi, so I feel like this could cause trouble for users.
(I'm sure another user has pointed this out in the past)
TVPaint 11.7.2(Nov 14 2023), Windows11 Pro, HP Spectre x360 Convertible 14-ea0xxx / TVPaint 11.7.1(Dec 22 2022) Mac OS 11.6, Apple MacBookPro M1 2020
User avatar
Léo
Site Admin
Posts: 1094
Joined: 24 Jul 2012, 15:40

Re: Difference of "Export to Project: Display" and "tv_SaveDisplay" george command

Post by Léo »

Hello Hironori Takagi,
Indeed, there is something we have to investigate, our devs will look at it as soon as possible.
Léo Fernandez
TVPaint Q&A and Lead Animator, TVPaint Beta-Tester
Windows 11 AMD Ryzen 7 7745HX with Radeon Graphics CPU @ 3.60 GHz,
32 GB RAM , TVPaint PRO 11.7.3 and 12 - 64bit , Wacom Cintiq 24 Pro.
Wacom driver version 6.4.2-3
Post Reply