Re: mtpaint-- can't put it subject line...SOLVED

Issues and / or general discussion relating to Puppy

Moderator: Forum moderators

Post Reply
User avatar
mmmrr
Posts: 147
Joined: Sun Jun 27, 2021 8:20 pm
Location: vancouver island, canada
Been thanked: 1 time

Re: mtpaint-- can't put it subject line...SOLVED

Post by mmmrr »

hello
in mtpaint
i have an image of a person reading a book.
i know how to scale the canvas of that image.
i reduce it to the size of the cover of the book.

i want to put that reduced image on the book
cover to create an image of a person reading
a book, on the cover of which is an image of
a that person readng that book.

trial and error failed. some research brought me here.
help wanted. thank you.mm

Last edited by mmmrr on Sat Jun 01, 2024 2:11 pm, edited 2 times in total.
HerrBert
Posts: 357
Joined: Mon Jul 13, 2020 6:14 pm
Location: Germany, NRW
Has thanked: 18 times
Been thanked: 126 times

Re: mtpaint-- can't put it subject line.

Post by HerrBert »

Is this what you try to do?

reader-reading.jpg
reader-reading.jpg (21.69 KiB) Viewed 740 times

This is made as an example using layers.

Select the image (ctrl+a), copy (ctrl+c), then make a new layer from clipboard.
Press v to get a preview of the next steps.
Resize and rotate the new layer and in the right viewer pane (!) drag it into position.
From the menu layers select save composite image.

HTH

Have fun and stay curious ;)

User avatar
mmmrr
Posts: 147
Joined: Sun Jun 27, 2021 8:20 pm
Location: vancouver island, canada
Been thanked: 1 time

Re: mtpaint-- can't put it subject line.

Post by mmmrr »

thank you herrbert.
yes, i will try later.
mm

User avatar
mmmrr
Posts: 147
Joined: Sun Jun 27, 2021 8:20 pm
Location: vancouver island, canada
Been thanked: 1 time

Re: mtpaint-- can't put it subject line.

Post by mmmrr »

hello herrbert
directions worked until i rotated
the 'rescaled' image to put in the
correct orientation for book cover.

at that point the image became
a black shape, rotated, against a red
background, which showed the original,
unrotated, place of the rescaled image.

i could drag it to the cover of the book
but i could not change the black/red shape
back to the image for the book cover.

thanks so far. mm

HerrBert
Posts: 357
Joined: Mon Jul 13, 2020 6:14 pm
Location: Germany, NRW
Has thanked: 18 times
Been thanked: 126 times

mtpaint-- how do i use repeated image?

Post by HerrBert »

Are you serious :shock:

Seems it gets beyond basic knowledge at this point.

I used an svg file for my example. Loaded in mtpaint it has an alpha channel for transparency, so there are no red shapes after rotating...

What you can try to do is adding an alpha channel to the new layer to 'hide' anything, you don't want in your overlay image.

What i don't understand is:

at that point the image became
a black shape, rotated, against a red
background, which showed the original,
unrotated, place of the rescaled image.

Can you please post/pm a reduced size screenshot of whatever this means?
(subject is just a suggestion...;))

User avatar
mmmrr
Posts: 147
Joined: Sun Jun 27, 2021 8:20 pm
Location: vancouver island, canada
Been thanked: 1 time

Re: mtpaint-- can't put it subject line.

Post by mmmrr »

hello herrbert,

first note: i started with jpg

second note: image in left pane
changed from black shape on red
background to fullsize image i started
from.
image in right pane did not change.
the black shape, which was the resized
original, on the red backround is where
i dragged it.

my cousin and i recently exchanged selfies.
he is the reader. the cover of the book is behind
the black shape. i thought it might be amusing
to put the image of him holding the book, on
the cover of the book.

third note: i have obscured, i hope, all
personal details with broad red stripes,
as they play no part in this issue.

thank you, mm

Screenshot(1).jpg
Screenshot(1).jpg (36.68 KiB) Viewed 681 times
HerrBert
Posts: 357
Joined: Mon Jul 13, 2020 6:14 pm
Location: Germany, NRW
Has thanked: 18 times
Been thanked: 126 times

mtpaint- how to use repeated image

Post by HerrBert »

Looks like your new layer is an empty image...

Let's start over again:

Open your image in mtPaint

Select your image either by pressing CTRL+a or from menu Selection -> Select all

Copy selection into clipboard either by pressing CTRL+c or from menu Edit -> Copy

Create a new layer from menu Layers -> New Layer
This brings up a dialog where you have to tick From Clipboard

Since JPG has no alpha channel you have to add it from menu Channels -> New ...
This brings up a dialog where you have to tick Set
Alpha should be selected by default

Make sure that menu Channels -> Couple RGBA Operations is selected

Press v for the preview

Now edit the layer to your liking

Save the preview image using the menu Layers -> Save Composite Image ...
By default this will save as PNG, but can be changed to JPEG

As another example i edited the image from my earlier post as jpg
I have scaled it to fit into the book cover and then skewed it instead of rotating to fit the angle

mtpaint-mtPaint 3.50.09 (Modified) Untitled.jpg
mtpaint-mtPaint 3.50.09 (Modified) Untitled.jpg (52.67 KiB) Viewed 649 times
User avatar
mmmrr
Posts: 147
Joined: Sun Jun 27, 2021 8:20 pm
Location: vancouver island, canada
Been thanked: 1 time

Re: mtpaint-- can't put it subject line.

Post by mmmrr »

hello herrbert,
many thanks for the detailed reply.
once again, i will make use of it
later to day. mm

User avatar
Fossil
Posts: 71
Joined: Sun Feb 12, 2023 11:33 am
Location: Beyond 'Reasonable Doubt'
Has thanked: 13 times
Been thanked: 31 times

Re: mtpaint-- can't put it subject line.

Post by Fossil »

@HerrBert That is one of the clearest and concise explanations, ever! :thumbup: Thank you.
Mods. Might I suggest that the full subject be copied across to the 'HOW-TO' section of the forum for long-term viewing.

User avatar
mmmrr
Posts: 147
Joined: Sun Jun 27, 2021 8:20 pm
Location: vancouver island, canada
Been thanked: 1 time

Re: mtpaint-- can't put it subject line.

Post by mmmrr »

hello herrbert,
things went according to
directions, thanks very much.
i think the result will amuse my
cousin.
i used the forum for years
and rejoined when it was resurrected.
one feature of the new forum is
'thanks/been thanked'. it is not
obvious to me how it works.
it is
clear that yr instructions are exemplary,
as fossil has pointed out.
cheers, mm

HerrBert
Posts: 357
Joined: Mon Jul 13, 2020 6:14 pm
Location: Germany, NRW
Has thanked: 18 times
Been thanked: 126 times

Re: mtpaint-- can't put it subject line.

Post by HerrBert »

@mmmrr
Don't worry about 'thanksgiving' :lol:

Editing images may be trivial.
If it comes to editing personal photos it can be very emotional...

If my instructions were of help to you, we all did right.
You asked, i tried to help ;)

Maybe a moderator will help renaming the subject or even moving this thread to an appropriate place...

User avatar
mmmrr
Posts: 147
Joined: Sun Jun 27, 2021 8:20 pm
Location: vancouver island, canada
Been thanked: 1 time

Re: mtpaint-- can't put it subject line.

Post by mmmrr »

hello
how to mark subject 'SOLVED'?
thanks, mm

HerrBert
Posts: 357
Joined: Mon Jul 13, 2020 6:14 pm
Location: Germany, NRW
Has thanked: 18 times
Been thanked: 126 times

Re: mtpaint-- can't put it subject line.

Post by HerrBert »

mmmrr wrote: Sat Jun 01, 2024 12:12 am

hello
how to mark subject 'SOLVED'?
thanks, mm

Go to the first post on this page, in that post click the pencil (left next to your avatar) to edit the post and change the subject by adding (SOLVED)

Post Reply

Return to “Users”