Welcome, Guest |
You have to register before you can post on our site.
|
|
|
Scale image relative size? |
Posted by: BaconWizard17 - 08-14-2022, 02:46 PM - Forum: Scripting questions
- Replies (7)
|
|
Hi all! I'm trying to work out a script that I can use to reduce the size of an image by half. However, I need this to work with images of different sizes, but I always want them to be scaled to half their size. I know that this code exists:
Code:
(gimp-image-scale image X Y)
But I've only ever used it for absolute sizes. How can I make it be relative? I'm assuming I'll need to get the current size of the image and then multiply those variables by 0.5, then use the variables in this command, but I'm having trouble finding any documentation about actually getting the layer sizes. Any help is appreciated!
|
|
|
Inserting something between foreground and background in an image |
Posted by: Ofnuts - 08-14-2022, 08:45 AM - Forum: Tutorials and tips
- No Replies
|
|
It is sometimes needed to add an object in an image and make it look part of it by appearing behind foreground elements and in front of background elements. With the proper technique this isn't difficult:
- Add the object in a new layer
- Duplicate the image layer
- Move the copy above the object layer (which is sandwiched between the two images)
- Using a layer mask, erase the top image except where it is in the immediate vicinity of the object: you start by removing most of the image (big brush or bucket-fill with a selection), remove most of the rest with a small brush, and shave off the outline where needed with a soft brush.
- The only place where erasure should be accurate is where a foreground element intersects the inserted object
For instance:
In that specific case:
- The layer group is not strictly necessary. It is used for demo purposes so the group thumbnail shows the effect of the mask
- You can see how little of the "copy" you need
- The image a good example... cutting out the whole cat properly with all the hairs would have been a daunting task (1600 pixels of fuzziness). But here the only place where we need a sharp cut in on the ears, which are not fuzzy (200 pixels of sharpness), as shown by the red lines below:
|
|
|
extract jpg file from a RAW photo file |
Posted by: denzjos - 08-13-2022, 04:59 PM - Forum: Other graphics software
- Replies (1)
|
|
Raw images taken with digital cameras contain raw sensor data. Such files can yield much better images than standard JPEGs but they must be “developed” using custom software, and this task takes time.
Raw files contain also an embedded jpeg image, already developed by the camera. This preview can be used to quickly show the image content, for example.
ERawP extracts the embedded previews from raw files and saves them in separate files. It can be useful if you need a reasonable approximation of the images and you do not want to spend time developing all the files. For example you might want to send the images to a friend by e-mail.
http://www.fsoft.it/ERawP/
|
|
|
Export |
Posted by: chazb - 08-12-2022, 04:06 AM - Forum: General questions
- Replies (1)
|
|
Hi am a GIMP newby, and was wondering if it is possable to Export a file that LibreOffice can use to add script to the file.
|
|
|
|