Gimp-Forum.net
Filter for adding thickness to an image - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: General questions (https://www.gimp-forum.net/Forum-General-questions)
+--- Thread: Filter for adding thickness to an image (/Thread-Filter-for-adding-thickness-to-an-image)

Pages: 1 2


Filter for adding thickness to an image - TDCSoftware - 04-05-2020

Hi,
   I've been trying to do something you can see in the image:(click here, please).
   Because I didn't know how to make the effect with GIMP, I did it with Inkscape. Then I copied the result on Gimp, added shadow and, more or less, I could get what I wanted.
   However, I have to do the same with several images and I wonder if there is already a filter, extension or something that can do it automatically.
   If not, I'd like to know if everything can be done easily with Gimp and, of course, how. Smile 
   Thanks for any help.

Mauricio


RE: Filter for adding thickness to an image - Ofnuts - 04-05-2020

Using Filters>Map>Map object>Box, using the image for on side of the box, and one or more layer for the sides, and squishing the box along one dimension. Starting with this:

[attachment=4182]

I applied these options:

[attachment=4183]

Got this:

[attachment=4184]

Removed the backrgound and add a drop-shadow:

[attachment=4185]



RE: Filter for adding thickness to an image - rich2005 - 04-05-2020

I had a look around, nothing in Gimp that I could find. There an ImageMagick 'box' maker although from memory it is a bit complicated.

Someone might come up with something. One question. Are you starting with a 'flat' image.

Nothing like automated, a very hands on method Wink In the screen shots:

https://i.imgur.com/kY1YWyQ.jpg
Starting with a 'flat' image
Unified Transform will rotate / scale / skew all in one operation.

https://i.imgur.com/oGo7eNq.jpg
Used the skewed layer to make a stack of 'edges' in a layer group then the align tool to 'extrude' using a small offset.
(while writing that, I remember there are extrusion scripts around, I will see what works with Gimp 2.10)
The example you gave has the edges fading to transparency so apply a layer mask and gradient to the layer group.

[Image: EU17h9a.jpg]
Not going to use the drop shadow tool, duplicate an edge layer, make it black, gaussian blur, move, adjust opacity. Easy.


RE: Filter for adding thickness to an image - TDCSoftware - 04-05-2020

(04-05-2020, 12:49 PM)Ofnuts Wrote: Thanks for your help. Just one quesstion, why I don't have the Box tab in Map Object? My Options

Using Filters>Map>Map object>Box, using the image for on side of the box, and one or more layer for the sides, and squishing the box along one dimension. Starting with this:



I applied these options:



Got this:



Removed the backrgound and add a drop-shadow:

(04-05-2020, 01:17 PM)rich2005 Wrote: Hi,
   Yes, I'm starting with a screen shot capture from one application.
   I will try to reproduce all your steps, it looks complicated Smile
   Thanks.

Mauricio


I had a look around, nothing in Gimp that I could find. There an ImageMagick 'box' maker although from memory it is a bit complicated.

Someone might come up with something. One question. Are you starting with a 'flat' image.

Nothing like automated, a very hands on method Wink   In the screen shots:

https://i.imgur.com/kY1YWyQ.jpg
Starting with a 'flat' image
Unified Transform will rotate / scale / skew all in one operation.

https://i.imgur.com/oGo7eNq.jpg
Used the skewed layer to make a stack of 'edges' in a layer group then the align tool to 'extrude' using a small  offset.
(while writing that, I remember there are extrusion scripts around, I will see what works with Gimp 2.10)
The example you gave has the edges fading to transparency so apply a layer mask and gradient to the layer group.

[Image: EU17h9a.jpg]
Not going to use the drop shadow tool, duplicate an edge layer, make it black, gaussian blur, move, adjust opacity. Easy.



RE: Filter for adding thickness to an image - Ofnuts - 04-05-2020

(04-05-2020, 03:07 PM)TDCSoftware Wrote: Thanks for your help. Just one quesstion, why I don't have the Box tab in Map Object? My Options

You get the Box tab once you have set Map to: to Box in the first tab (reads Plane in your capture).


RE: Filter for adding thickness to an image - denzjos - 04-06-2020

Ofnuts, I don't know if you have something in your tremendous scripts like this : http://gimpchat.com/viewtopic.php?f=23&t=12653&hilit=align+paths#p171524
It could help to make automatically a perpective from the flat picture by using paths. I've downloaded tthe plugin but it don't work on gimp 2.10.18. I'ts just a tought to do this job with paths because one can save/load them. If the screendumps of DTCSoftware have the same dimensions, then one could use the same paths for every picture.
I just mentioned this to Ofnuts because he is the gimp path specialist.


RE: Filter for adding thickness to an image - Ofnuts - 04-06-2020

(04-06-2020, 08:23 AM)denzjos Wrote: Ofnuts, I don't know if you have something in your tremendous scripts like this : http://gimpchat.com/viewtopic.php?f=23&t=12653&hilit=align+paths#p171524
It could help to make automatically a perpective from the flat picture by using paths. I've downloaded tthe plugin but it don't work on gimp 2.10.18. I'ts just a tought to do this job with paths because one can save/load them. If the screendumps of DTCSoftware have the same dimensions, then one could use the same paths for every picture.
I just mentioned this to Ofnuts because he is the gimp path specialist.

I did write something like this in the past for someone, but in the general case, the perspective tool in "Corrective" mode already does this. Some edge cases can also be done by making a path on the source, chain-linking the path and a layer and applying the transform on the path (which is then repeated by Gimp on the layer).

PS: I note that one of the incentive for the script your mention is "the perspective transformation doesn't allow you to see through the target image".... the author is overlooking the "preview opacity" slider in the tool options.


RE: Filter for adding thickness to an image - rich2005 - 04-06-2020

Really just playing around Wink Using Gimp 2.10.18 which has a new 3D transform tool. Still not automatic.

Then pulled out an old 3D-extrusion script (attached - unzip put in your user profile scripts folder)

Demo - duration 3 and a half minutes  https://youtu.be/IvjNJzBfDis






RE: Filter for adding thickness to an image - denzjos - 04-06-2020

Ofnuts, thanks for mentioning the 'corrective' mode in gimp. I didn't discovered this.


RE: Filter for adding thickness to an image - rich2005 - 04-06-2020

(04-06-2020, 08:23 AM)denzjos Wrote: Ofnuts, I don't know if you have something in your tremendous scripts like this : http://gimpchat.com/viewtopic.php?f=23&t=12653&hilit=align+paths#p171524
It could help to make automatically a perpective from the flat picture by using paths. I've downloaded tthe plugin but it don't work on gimp 2.10.18. I'ts just a tought to do this job with paths because one can save/load them. If the screendumps of DTCSoftware have the same dimensions, then one could use the same paths for every picture.
I just mentioned this to Ofnuts because he is the gimp path specialist.

ob-align.py plugin.

Still working here in a Gimp 2.10.18 just tried it. - old demo here https://www.gimp-forum.net/Thread-4-point-perspective-transform

but check out the Gimp 2.10.18 3D transform tool.