Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a small tiling .gif image animation (16 bytes by 32 bytes, 2 layers) that uses too much cpu time and I want to make it bigger. I have no experience with Gimp and I have found the only way to solve my problem is to run an HTML file with this tiling as a background image and take a few screen shots till I have a big image of each layer. I have managed to do that.
The next step is to get a screen shot of those images starting and ending at a precise pixel (-> Acquire -> Screen Shot -> Single Window -> Select Window After 1 Seconds Delay -> Grab After 100 Seconds Delay) to obtain an exact multiple of the initial file, horizontally and vertically.
The problem is if I insure that all of the wanted portion is in the screen, 1 pixel is so tiny that even if I get the cursor at the right location, the simple action of releasing the button of the mouse puts it out of alignment. And if I zoom into the image then the wanted image is partly outside the screen and Gimp does not scroll.
(There is no help yet in the user manual on this subject.)
Can anyone advise how to overcome this problem? Is there a way to enter the top left corner values and the bottom right values? If I get an image slightly bigger than wanted how can I adjust it to the pixel?
I understand if I manage to solve this precision problem then it is only a matter of opening the first image and drag and drop the second in the tool box and this will automatically create the second layer and an animated .gif.
I stumbled by accident on the "crop" tool that did the job perfectly, allowing to enter the coordinates. I used it to adjust the new and bigger files to the pixel, saved each then opened the first and dragged the second onto the first, which gave a single image with two layers, which the Gimp only allowed to save as animation, which was perfect.
If you use Image Magick's "import" you can add the exact size and x-y-coordinates of your image at the command line and import will just grab exactly this.
See man import for (many more) details.
Image Magick is a must-have even though if you already have Gimp.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.