Tag Info

Hot answers tagged

39

In the poppler-utils packages there is the utility pdftoppm capable of converting pages from a pdf file to ppm, png or jpeg format: pdftoppm -png file.pdf prefix will produce prefix-01.png etc. for each page. By default the resolution is 150dpi. Increase the resolution (for higher quality output) as follows: pdftoppm -rx 300 -ry 300 -png file.pdf prefix ...


34

Get the partition layout of the image $ sudo fdisk -lu sda.img ... Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes ... Device Boot Start End Blocks Id System sda.img1 * 56 6400000 3199972+ c W95 FAT32 (LBA) Calculate the offset from the start of the image to the ...


30

Install imagemagick Using a terminal where the pdf located: convert file.pdf file.png (.png or .jpg or any other format).


26

Easy. Install imagemagick $ sudo apt-get install imagemagick It's simplest usage is: $ convert File.tif File.jpg It is smart and goes by your file extension. Now, for doing batch conversions, we shall use a loop. cd into the directory where your tif files are. then: $ for f in *.tif; do echo "Converting $f"; convert "$f" "$(basename "$f" ...


25

Nautilus's thumbnailing routines actually come from the libgnome-desktop library, so it is possible to run the same thumbnailers outside of the file manager. The API is a little complex, but the following Python script should help: #!/usr/bin/python import os import sys from gi.repository import Gio, GnomeDesktop def make_thumbnail(factory, filename): ...


24

Gthumb is a nice image viewing/editing tool with simple editing tools like cropping. Instructions for cropping in gThumb 3.2.8 Open your image in gThumb Open the Edit sidebar by pressing e or clicking on the easel in the top-right corner of the window In the sidebar click on Crop and then crop the image as you desire Once finished press ...


24

digiKam Add all the photos to your collection. In the menu, select “Tools / Find duplicates”. This will look for duplicates across your whole collection. findimagedupes A command line tool. Pass all the images you want to compare on the command line. Geeqie (formerly GQview) In the menu, select “File / Find duplicate”. Drag and drop image files do ...


18

Same command, with an extra option: convert myfigure.png -resize 200×100 myfigure.jpg or convert -resize 50% myfigure.png myfigure.jpg


18

See the montage command from imagemagick (sudo apt-get install imagemagick). montage -geometry 250x250+0+0 image1.png image2.png out.png This will resize each image (to 250px with no deformation) and combine them with no margin. More montage examples. You can also use convert (example with wildcards): convert -append pixpixp-*.jpg newpix.jpg


17

Once the image is opened you can right click on it and choose to open with Shotwell Image Viewer. It will open up a new window where you can crop/edit the image and save it. Once saved you can close the 2nd window and see the changes in the default image viewer. Alternatively you can set Shotwell Image Viewer to be your default image viewer.


17

An easy solution is using kpartx: it will figure out the partition layout and map each to a block devices. After that all you have to do is mount the one you want. Open Terminal, locate the disk image, and enter this command: $ sudo kpartx -av disk_image.raw add map loop0p1 (252:2): 0 3082240 linear /dev/loop0 2048 add map loop0p2 (252:3): 0 17887232 ...


13

On the command line, the tool to manipulate bitmap images is imagemagick or graphicsmagick (GM is a split of the IM project, and more actively developed). This is a good option if you often use the same parameters. convert raw.jgp -crop 800x460+100+20 # ImageMagick gm convert raw.jgp -crop 800x460+100+20 # GraphicsMagick For ad ...


13

FSlint fslint is a graphical program that can find duplicate files of any type by md5sum. If the images are not identical, they won't be flagged as duplicates. The image below shows a bunch of duplicate pdf files in my Downloads directory: You can change the advanced search parameters to search by file type and restrict yourself to images only. That's ...


13

Method 1: Goto Applications>>Accessories>>Take Screenshot Now you can select the portion of a screen. Method 2: If you use shutter Applications>>Accessories>>Shutter Open it and click selection in the top of the screen. Now you can select the portion of the screen. Method 3: Take a screenshot of a whole desktop by ...


13

The script below should do the job. It uses evince-thumbnailer which - as far as I know - comes with every gnome installation and is the default thumbnailer. Save as pdfthumbnailer.sh and make it executable. Usage: pdfthumbnailer.sh dir1 [dir2, ...] #!/bin/bash F1=$HOME/.thumbnails/normal F2=$HOME/.cache/thumbnails/normal SAVE_FOLDER=$F1 [ -e $F2 ] ...


12

The good replacement is gthumb . You can easily install it through Ubuntu Software Center. It has all functions that you require.


11

You can use PosteRazor. Start the Software Center. Search for PosteRazor Install it. PosteRazor allows to import an image and then takes you through a wizard that allows to cut it in pieces, depending on the type of paper you will be printing on.


11

The act of extracting text from images is called OCR and Ubuntu has a wiki page dedicated to OCR. From that page: Available OCR tools The Ubuntu Universe repositories contain the following OCR tools: gocr - A command line OCR fuzzyocr - spamassassin plugin to check image attachments libhocr0 - Hebrew OCR ocrad - Optical Character Recognition program ...


11

ImageMagick Trim The command line option trim used together with convert, or mogrify lets you trim borders of the identical color as the corners of an image. Usage: convert input.png -trim output.png The additional options -fuzz also removes colors near the corner colors. Use option +repage to remove a canvas (if applicable). ImageMagick Batch Trim ...


10

If you're willing to use a terminal, you can do: convert image1.jpg image2.png text.txt PDFfile.pdf outputFileName.pdf It worked for me, but the problem is it converts the text.txt file into an image, so you can't highlight the text in the resulting pdf. (this is @Alaa's comment converted to a Community Wiki answer)


9

GPicView I'll recommend to you this Simple and Fast image viewer. As you say that you computer is not a super fast calculator you should look for software with a few functions (the fewest possible), and this software meets this requirement, see the next screen-shoot and you will notice it. You can install it through the Software-Center.


9

Changing the date and time are easy in Shotwell. Select the photos you want to adjust and go to the menu like this: Select Photos/Adjust date and time. That brings up a menu like this: If all the photos are off by the same amount, you can do them all in one go. If you used more than one camera and they were off by different amounts, you have to ...


9

Using the tools provided with ImageMagick We can easily join, i.e. "montage" images into one large image with the following command montage -geometry 500 image1 image2 [...] output See the project page for many parameters of the geometry option. In the example above all images will be scaled to a width of 500 pixels before they are joined. Adapt this ...


9

Judging from the error reported by the image viewer, I would say that the files are probably either corrupt or they're not really JPEG files. What is the result of: file the_file_name.jpg The answer will likely be the actual type of the file.


9

I quite like F-Spot + UFRAW for organising photos and processing them but I also use Darktable for when I get bored of UFRAW.


8

Looks like you may find a solution on the Ubuntu forums here; http://ubuntuforums.org/showthread.php?t=1429439 download the python script install the pre requisites, sudo apt-get install python-tk python-imaging python-imaging-tk run the application, load file, select areas to crop with mouse and click go, pictures of the areas will be saved to file in ...


8

GIMP has a Batch Mode which can probably do exactly what you need. Here is an example: gimp -i -b '(batch-unsharp-mask "*.png" 5.0 0.5 0)' -b '(gimp-quit 0)' The above command performs an unsharp effect on all of the images ending with ".png". Now we only need to find the batch command for your cubism effect.


8

Shutter It's a awesome program used for editing and annotating images.


8

Pinta It's description seems to match your desires ;-) Pinta is a drawing/editing program modeled on Paint.NET. Its goal is to provide a simplified alternative to the GIMP for casual users. Features include: Adjustments (Auto level, Black and White, Sepia, …) Multiple layers Unlimited undo/redo Drawing tools ...


8

Use the command identify, which is part of ImageMagick. Examples: $ identify ZEAKR.jpg ZEAKR.jpg JPEG 400x600 400x600+0+0 8-bit DirectClass 49.9KB 0.000u 0:00.000 or $ identify -verbose ZEAKR.jpg Image: ZEAKR.jpg Format: JPEG (Joint Photographic Experts Group JFIF format) Class: DirectClass Geometry: 400x600+0+0 Resolution: 72x72 Print size: ...



Only top voted, non community-wiki answers of a minimum length are eligible