FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour To Mr. Ukoenig, two merged jpg files
Posts: 2170
Joined: Fri Jul 18, 2008 01:24 AM
To Mr. Ukoenig, two merged jpg files
Posted: Thu Oct 09, 2014 02:54 PM

Mr. Ukoenig.
I'm trying to merge two jpg files to create a new one.
Can you explain me how can I make it, please?

I have readed many post from you, but I have not been able find something. like that.
Best regards.

Francisco J. Alegría P.

Chinandega, Nicaragua.



Fwxh-MySql-TMySql
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: To Mr. Ukoenig, two merged jpg files
Posted: Thu Oct 09, 2014 05:09 PM
Hello Francisco J,

there are different solutions to merge 2 Images.

1. second image next to image 1
2. second image merged somewhere inside image 1


I created a tool, to show 2 images adjusted to each other ( sample 1 ).
It works in visual design-mode and is possible, to make a screenshot.
As well I can show a external solution, using PIXELFORMER to place the second image
on any position You need or next to each other saving the result as a new image ( if needed ).
Just tell me, the style You need.
To make it better looking, I would convert ( sample 1 ) the result to PNG and change
the brushed background to TRANSPARENT.

tool-sample 1



two images merged with PIXELFORMER



best regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 2170
Joined: Fri Jul 18, 2008 01:24 AM
Re: To Mr. Ukoenig, two merged jpg files
Posted: Fri Oct 10, 2014 03:50 AM
Mr. Uwe, Thanks for reply.
I like the option 2.

The following image show us what I want to do.
The background (players) is a JPG file, and the tiger is a JPG file, also.
How can I do the tiger's picture be transparent?
Thanks, again.
Francisco J. Alegría P.

Chinandega, Nicaragua.



Fwxh-MySql-TMySql
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: To Mr. Ukoenig, two merged jpg files
Posted: Fri Oct 10, 2014 09:25 AM
Hello Francisco J.,

Using solution 2, it is just a logo-display
and can be tested with my logo-editor and creating the needed PRG.

A Logo can have a transparent background ( PNG )
or a CLEAN background-color using a JPG.
The problem : in many cases a JPG-background-color is not clean
and not shown transparent.

I will update this tool, to test a JPG with color-background as well.
For the moment, it supports transparent PNG's



To test the background-color of Your tiger-image, You can use PIXELFORMER using the magic-stick,
or You can send me this image by E-mail and I can clean it up for You cleaning the white area
or better, convert it to a TRANSPARENT PNG :



best regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 159
Joined: Wed Mar 28, 2007 01:19 PM
Re: To Mr. Ukoenig, two merged jpg files
Posted: Fri Oct 10, 2014 12:13 PM

Hi Francisco
If you do not have many images and does not need high quality (alpha channel), you can use the "transparent selection" feature in MS Paint (yes, the good old MS Paint).
1 - Load the image into MS Paint
2 - Create an empty area on the side of the image. (in "Attributes" increase the width or height)
3 - Paste the new image in the empty area. (the background must be WHITE ("#FFFFFF")
4 - Chose "Transparent Selection"
5 - Select the new image and move it into the old image
6 - Select the desired section and crop it. (Ctrl+Shift+X)
HTH and regards
Euclides

Posts: 2170
Joined: Fri Jul 18, 2008 01:24 AM
Re: To Mr. Ukoenig, two merged jpg files
Posted: Fri Oct 10, 2014 02:40 PM
ukoenig wrote:Hello Francisco J.,
A Logo can have a transparent background ( PNG )
or a CLEAN background-color using a JPG.
The problem : in many cases a JPG-background-color is not clean
and not shown transparent.
Uwe :-)


Mr. Uwe, yes... that is the problem.
I just send to you, the tiger-imag.
Many thanks.
Francisco J. Alegría P.

Chinandega, Nicaragua.



Fwxh-MySql-TMySql
Posts: 2170
Joined: Fri Jul 18, 2008 01:24 AM
Re: To Mr. Ukoenig, two merged jpg files
Posted: Fri Oct 10, 2014 02:44 PM
Euclides wrote:Hi Francisco
If you do not have many images and does not need high quality (alpha channel), you can use the "transparent selection" feature in MS Paint (yes, the good old MS Paint).
1 - Load the image into MS Paint
2 - Create an empty area on the side of the image. (in "Attributes" increase the width or height)
3 - Paste the new image in the empty area. (the background must be WHITE ("#FFFFFF")
4 - Chose "Transparent Selection"
5 - Select the new image and move it into the old image
6 - Select the desired section and crop it. (Ctrl+Shift+X)
HTH and regards
Euclides


Euclides, thanks for reply.
I had already done that way , but it does not work. No transparent paste .
Regards.
Francisco J. Alegría P.

Chinandega, Nicaragua.



Fwxh-MySql-TMySql
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
Re: To Mr. Ukoenig, two merged jpg files
Posted: Fri Oct 10, 2014 03:05 PM

Francisco

Pixelformer is a good program .. I also use Gimp ( free open source ) which is as powerful as PhotoShop. I create all my alpha channel bitmaps with Gimp .. Just Open your Picture with Gimp and Open ( layers ) and you can drop any picture you want on your original, resize, crop, etc ...

http://www.gimp.org/

Rick Lipkin

Posts: 2170
Joined: Fri Jul 18, 2008 01:24 AM
Re: To Mr. Ukoenig, two merged jpg files
Posted: Fri Oct 10, 2014 03:18 PM

Rick.

I'll try with Gimp.

Thanks.

Francisco J. Alegría P.

Chinandega, Nicaragua.



Fwxh-MySql-TMySql
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: To Mr. Ukoenig, two merged jpg files
Posted: Fri Oct 10, 2014 06:21 PM
The image is not designed, to change the background to transparent
There is NO clean white background !!!

I had to do some paintings, to get it working.
Here are the results :
( I still can try, to soften the tiger-face-border )

NO shadow



added Shadow



added Double shadow



The result, changing the existing white JPG-background to transparent



my result after some cleaning



soften face-border
title without shadow


The result is sended to the EMail-address !!!



best regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 2170
Joined: Fri Jul 18, 2008 01:24 AM
Re: To Mr. Ukoenig, two merged jpg files
Posted: Fri Oct 10, 2014 07:08 PM

Uwe

Excelent... You are the master!
Thank you so much.

Best regards :)

Francisco J. Alegría P.

Chinandega, Nicaragua.



Fwxh-MySql-TMySql

Continue the discussion