Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Channels / transparency. How to make?
#9
(05-30-2023, 10:36 AM)rich2005 Wrote:
(05-29-2023, 08:13 PM)leabreuh Wrote: I want to do the same as the example above in this image here. is it possible?

For that first image: As PixLab noted, Layer -> Transparency -> Semi-Flatten does leave a hard border.  I fix that by selecting the transparent area, then erasing the border using a small brush and stroking the selection with the eraser tool.

You can improve that flat looking image by using: Colors -> Auto -> White Balance.

...and I think the ultimate requirement is an image, easily coloured maybe for selling clothing. There are often multi-layer .PSD images that add options just by making layers visible. Make your own starting by;

Use a layer mask.
Get a selection from the image. Layer -> Transparency -> Alpha-to-selection

Make a new layer and create a layer mask: Layer -> Mask -> Add Layer Mask then choose the From Selection Option.

Turn selection off and put that layer into Darken Only mode.

The image is colored by filling the layer. Change colour as required. Save this as a Gimp .xcf file. For web use, Export as a .PNG image.

This a 3 minute example of all that. https://youtu.be/yGTEf9n2AEs





..and the second image attached as a Gimp .xcf.gz file. Just open with Gimp.


Thanks for the answer.

But I need to leave image 2 with the same opacity as the example of image 1 at the beginning. I put the images at the top to explain how it was and now I need to make image 2 identical, in transparency with thumbnail identical to image 1, with image 1 being the first in the video, a medical coat and image 2 the suit with pants. I hope I explained it correctly

(05-30-2023, 04:46 AM)PixLab Wrote: Like Ofnuts and rich2005, not sure what you are asking, maybe be go straight to the point, something like "I want from this before > to this after"

Anyway let's start for what I understood Wink

Duplicate your image twice



Check that your color background is white >  FG-BG-Swashes  , then on the top layer in the layers' dialog, right click on it, a context menu opens > Remove Alpha Channel (or you can go to Layer > Transparency > Remove Alpha Channel )



Then select the layer in the middle (still in the layer's dialog), then go to Filters > Generic > GEGL graph... and input these value  > gegl:opacity value=5.55 < (copy/paste)



Re-activate the top layer and put it in Screen Mode then play with the opacity slider to have more light(white) or less light,
the lab-gown is fully opaque while retaining a transparent background all around



Note: you could do the middle layer with, Layer > Transparency > Threshold alpha..., but this filter will "pixelize" between transparency and opaque, thus it's better to use GEGL graph IMO



Thanks for the answer.

But I need to leave image2 with the same opacity as the example of image 1 at the beginning. I put the images at the top to explain how it was and now I need to make image 2 identical, in transparency with thumbnail identical to image 1, with image 1 being the first in the video, a medical coat and image 2 the suit with pants. I hope I explained it correctly.

this is original image


.zip   image1.zip (Size: 79.88 KB / Downloads: 86)



image 2 ( I need this image 2 to have the same transparency ( opacity ), thumbnail, of image 1 with the details appearing and if it is opened on a white background, it has no signs of opacity, just like it is at the beginning of the question in the images I posted )


.zip   image2.zip (Size: 30.27 KB / Downloads: 81)
Reply


Messages In This Thread
RE: Channels / transparency. How to make? - by leabreuh - 05-30-2023, 01:07 PM

Forum Jump: