# Path translation resize problems

**URL:** <https://forum.logik.tv/t/path-translation-resize-problems/10791>\
**Category:** Flame Questions\
**Tags:** batch, resize, path-translation\
**Created:** [June 4, 2024, 11:43am UTC](https://forum.logik.tv/t/path-translation-resize-problems/10791 "2024-06-04T11:43:11Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![grantconnor](https://avatars.discourse-cdn.com/v4/letter/g/bc79bd/32.png) [@grantconnor](https://forum.logik.tv/u/grantconnor)\
**Post date:** [June 4, 2024, 11:43am UTC](https://forum.logik.tv/t/path-translation-resize-problems/10791/1 "2024-06-04T11:43:11Z")

</div>

Hi there…

I am having a problem with path translation. I have just finished on a job where all my media was soft imported, and then I have sent all my batch setups without media as an archive, and then uploaded a folder with basically all the media separately.

They have loaded the archive and changed the path translation and all has worked and is re-linking. The problem has come when they compared the results of the batches to my final renders… There has been a shift in the cg elements of a pixel or so.

After screen sharing and back and forth with @richmckeand, we (him) have seemed to narrow it down to one thing. The cg source resolution in the metadata is 2457 x 1687, and when you just import it normally into Flame, it is automatically doing a resize and now showing it to be 2458x1687 and has a fine black edge on the right side of frame coming from the extra pixel. _But_, when linking using the path translation, it is handling that resize differently, as apart from the pixel shift, there is some resizing issues around the highlights etc. It looks like it is doing a resize from the left side as there is no difference on that side, but by the time it gets over to the right, it is quite evident.

Has anyone come across this before, or know of a solution to how it handles this in path translation?

Also, if we try to cache one of the path translated clips it completely corrupts(see pics).

Thanks…

ps. We did a test with a frame of the cg resized so divisible by 4 and archived a small setup with separate media, and as it wasn’t having to do any type of resize, all worked as expected.

Using Flame 2022.3 just FYI.

 ![difference_matte](https://us1.discourse-cdn.com/flex020/uploads/thedepartmentofexternalservices/original/2X/2/2af618ea88622d59caa83935dbd10d49a2ce9538.jpeg)  
 ![imported_frame](https://us1.discourse-cdn.com/flex020/uploads/thedepartmentofexternalservices/original/2X/1/1558eebeb07dc4c487485c644d3e2d1945a61ebb.jpeg)  
 ![path_translation_frame_CACHED](https://us1.discourse-cdn.com/flex020/uploads/thedepartmentofexternalservices/original/2X/f/fb8cf0e11916923f7a759db527c78f07e93edd30.jpeg)  
 ![path_translation_frame](https://us1.discourse-cdn.com/flex020/uploads/thedepartmentofexternalservices/original/2X/5/599c9579e2fd7c600303dd9b8528d725fd3d0893.jpeg)

---

<div class="post-metadata">

**Author:** ![paul\_round](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/paul_round/32/389_2.png) [@paul\_round](https://forum.logik.tv/u/paul_round)\
**Post date:** [June 4, 2024, 11:50am UTC](https://forum.logik.tv/t/path-translation-resize-problems/10791/2 "2024-06-04T11:50:12Z")

</div>

2457 is an unsupported resolution, thats why it’s being resized to 2458.

---

<div class="post-metadata">

**Author:** ![grantconnor](https://avatars.discourse-cdn.com/v4/letter/g/bc79bd/32.png) [@grantconnor](https://forum.logik.tv/u/grantconnor)\
**Post date:** [June 4, 2024, 11:55am UTC](https://forum.logik.tv/t/path-translation-resize-problems/10791/3 "2024-06-04T11:55:41Z")

</div>

Yep I get that, but the way it is being handled is different when importing compared to path translation. Importing just adds a black line on right of frame, but the path translation tries to resize and introduces some edge issues.

---

<div class="post-metadata">

**Author:** ![randy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/randy/32/6122_2.png) [@randy](https://forum.logik.tv/u/randy)\
**Post date:** [June 4, 2024, 12:44pm UTC](https://forum.logik.tv/t/path-translation-resize-problems/10791/4 "2024-06-04T12:44:28Z")

</div>

When the artifact is happening, is the resize exposed to you? Or is this something under the hood?

---

<div class="post-metadata">

**Author:** ![grantconnor](https://avatars.discourse-cdn.com/v4/letter/g/bc79bd/32.png) [@grantconnor](https://forum.logik.tv/u/grantconnor)\
**Post date:** [June 4, 2024, 1:12pm UTC](https://forum.logik.tv/t/path-translation-resize-problems/10791/5 "2024-06-04T13:12:35Z")

</div>

Hey Randy,

No it was all under the hood…

---

<div class="post-metadata">

**Author:** ![knhn](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/knhn/32/5635_2.png) [@knhn](https://forum.logik.tv/u/knhn)\
**Post date:** [June 4, 2024, 1:29pm UTC](https://forum.logik.tv/t/path-translation-resize-problems/10791/6 "2024-06-04T13:29:06Z")

</div>

Resizing issue around the highlights might be Lanczos or Shannon on a linear render? Perhaps? Just a guess, highlights are normally where I realize Im using the wrong filtering.

---

<div class="post-metadata">

**Author:** ![randy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/randy/32/6122_2.png) [@randy](https://forum.logik.tv/u/randy)\
**Post date:** [June 4, 2024, 2:40pm UTC](https://forum.logik.tv/t/path-translation-resize-problems/10791/7 "2024-06-04T14:40:02Z")

</div>

Yeah, I’m wondering it does look a lot like negative numbers from Lanczos.

This is a complete longshot. But what happens if you change the default resize in Flame preferences from Lanczos to Mitchell and re-run the restore with the path translation?

I remember this old thread, and I do remember that there may have been some inadvertent filtering in the resize module that was fixed in the last couple releases.

> [@How to un-knowingly soften your image in one easy step](https://forum.logik.tv/t/how-to-un-knowingly-soften-your-image-in-one-easy-step/3433/3):
>
> Setting your crop to 1920x1080 is redundant since the resize output is already set to 1920 x 1080 and Center/Crop. Without that extra step, there are no issues in the path you have laid out.

---

<div class="post-metadata">

**Author:** ![ytf](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.logik.tv/ytf/32/109_2.png) [@ytf](https://forum.logik.tv/u/ytf)\
**Post date:** [June 4, 2024, 2:52pm UTC](https://forum.logik.tv/t/path-translation-resize-problems/10791/8 "2024-06-04T14:52:57Z")

</div>

Actually my solution (no longer applicable to that problem since it has since been solved by Discreet) was to switch to fill, switch to bicubic, then switch back to centre/crop. It was a weird workaround, but it did the trick. I don’t know if it is the same issue here, but I don’t really know the math. I just tried shit until it worked.

---

<div class="post-metadata">

**Author:** ![grantconnor](https://avatars.discourse-cdn.com/v4/letter/g/bc79bd/32.png) [@grantconnor](https://forum.logik.tv/u/grantconnor)\
**Post date:** [June 4, 2024, 3:04pm UTC](https://forum.logik.tv/t/path-translation-resize-problems/10791/9 "2024-06-04T15:04:39Z")

</div>

Yeah, the cg is all in Linear so figured it was a filter thing for the artefact’s, but it’s the shifting/resize of the image as well. I’ll try the default resize thing in preferences and see what happens!  
Thanks.
