Jump to content
WnSoft Forums

Loading different resolution pictures as layers of a single image


uuderzo

Recommended Posts

Hello,

In my tests to obtain cool perspective effects by moving layered images,

I got a problem:

- I start with my initial non layered image

- Then rework it by cutting into pieces based on depth (distance from observer)

- So I obtain a "puzzle"

- Rework each single layer to fill the gaps that will appear when I'll move the layers

- Export each image layer as a single image (PNG with transparency)

Since each layer may slow down the animation due to its size, i trim each image to keep only

the real content, and cutting away big transparent frames.

This should optimize the use of GPU resources, mainly if the layer contains only

small element.

Then I come to the problem. When I load each layer in PTE to recompose the initial image,

due the fact that each layer has different size in pixel I get a final result where

each layer has a different "zoom" level respect each other. This does not happen

if all layers are the same resolution (obviously).

I suspect this is due to the "resolution independence" of PTE and that's ok but...

anyone can suggest a way to load all layers so I don't need to zoom each one in

a "try and test" cycle until i get everything matching in my puzzled image?

I'd like to get all layers already correctly scaled, so I only need to shift them

to recompose my puzzle.

Thank you... Umberto

Link to comment
Share on other sites

Hello Umberto,

Unfortunately I am afraid you will have to zoom in each layers independently.

Here is how I proceed :

- Add the initial image at 100% opacity.

- Add the different layers at 50% apacity.

- Adjut the puzzle of layers one by one.

- Remove the initial image and set the layers to 100% opacity.

It's not perfect and I have to make it by successive approximation but it's ok.

I have never tested it but for a more accurate result, I guess you could calculate the zoom to apply to each layer by calculating the ratio between the layer and the initial image.

Link to comment
Share on other sites

Hi Umberto,

If you go into O&A window on your assembled "puzzle" image and then:

  • select each object
  • select the Common tab
  • click on Size/position in pixels...
  • set the Size (the lower pair of values) to the actual pixel x pixel size of the png file

does this not reset each object back to its original resolution? And can you not then use the Position values (the upper pair) to position each object to its exact location?

regards,

Peter

Link to comment
Share on other sites

If you go into O&A window on your assembled "puzzle" image and then:

  • select each object
  • select the Common tab
  • click on Size/position in pixels...
  • set the Size (the lower pair of values) to the actual pixel x pixel size of the png file

does this not reset each object back to its original resolution? And can you not then use the Position values (the upper pair) to position each object to its exact location?

Uh, oh... I didn't noticed that!

Moreover, without remembering the exact image size, I just need to go on the "Original" tab and put 100% in the size parameters!

Now I'm again an happy guy! Goin' back cutting pictures!

Thank you Peter! Umberto

Link to comment
Share on other sites

  • 1 year later...

Uh, oh... I didn't noticed that!

Moreover, without remembering the exact image size, I just need to go on the "Original" tab and put 100% in the size parameters!

Now I'm again an happy guy! Goin' back cutting pictures!

Thank you Peter! Umberto

Is there a step-by-step guide to using this layer method on PTE and also a demo of the effect it produces - it sounds really interesting and I would like to have a go!

Thanks

Joy

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...