Gimp-Forum.net
Perspective with BIMP - 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: Perspective with BIMP (/Thread-Perspective-with-BIMP)



Perspective with BIMP - Boppy - 06-05-2022

Hi guys,  I'm trying to use BIMP to mass edit images to create 3D box arts and am having trouble with it.

What I'm trying to get is all the images like this 

[attachment=8055]

When I choose the item-transform-perspective no matter what I put in the boxes below the images come out black and the file sizes are in Kb's when the files were 1-2MB previously.

[attachment=8054]
 
Is there something else i should be doing as well?  I had a search and saw this  

"This procedure is affected by the following context setters: gimp_context_set_interpolation(), gimp_context_set_transform_direction(), gimp_context_set_transform_resize(), gimp_context_set_transform_recursion()"

So I added them also and set them to match what the perspective tool is set at and still no joy.  Ill be honest i am new to this and have no idea what I'm doing so any help will be greatly appreciated.


RE: Perspective with BIMP - rich2005 - 06-05-2022

Seems to work here: linux / Gimp 2.10.30 / BIMP 2.6

These the values used, as an example. https://i.imgur.com/erkHmfe.jpg
Test on 3 images jpeg / png (no alpha) / png (with alpha) https://i.imgur.com/ST7eIEu.jpg
Side-by-side results. jpg works but superimposes over original jpeg. Both png's work https://i.imgur.com/l0DanQt.jpg

BIMP can be a bit peculiar when it comes to alpha and it might be your image format. Can you give details of BIMP version and image format (and maybe size)


RE: Perspective with BIMP - Boppy - 06-05-2022

(06-05-2022, 04:01 PM)rich2005 Wrote: Seems to work here: linux / Gimp 2.10.30 / BIMP 2.6

These the values used, as an example. https://i.imgur.com/erkHmfe.jpg
Test on 3 images jpeg / png (no alpha) / png (with alpha) https://i.imgur.com/ST7eIEu.jpg
Side-by-side results. jpg works but superimposes over original jpeg. Both png's work https://i.imgur.com/l0DanQt.jpg

BIMP can be a bit peculiar when it comes to alpha and it might be your image format. Can you give details of BIMP version and image format (and maybe size)

Thanks for testing it for me, it seems it was something on my laptop causing it as it worked fine when I fired it up on the PC.

I have stumbled across another problem though.  PNGs work fine but Jpegs come out like this;

I also occasionally get this error with Pngs;

[attachment=8058]

To answer your question as well I'm using Win10 / Gimp 2.10.30 / BIMP 2.6

EDIT:  Sorry just saw that you already said jpegs superimpose over the original (and i missed it in your pic) so removed the picture I uploaded.  Is there any way to fix that?


RE: Perspective with BIMP - rich2005 - 06-05-2022

I have never seen that error message about png's so no comment

Quote:jpegs superimpose over the original .... Is there any way to fix that?

Add a convert to png as the first operation. One peculiarity of BIMP is it will always add an alpha channel to a png (which can be annoying at times) 

[attachment=8059]

..but good for this. It does seem to slow the processing down. 


RE: Perspective with BIMP - Boppy - 06-05-2022

(06-05-2022, 07:08 PM)rich2005 Wrote: I have never seen that error message about png's so no comment

Quote:jpegs superimpose over the original .... Is there any way to fix that?

Add a convert to png as the first operation. One peculiarity of BIMP is it will always add an alpha channel to a png (which can be annoying at times) 



..but good for this. It does seem to slow the processing down. 

Brilliant, I'll give it a test after work tomorrow.

Thanks for the help Smile