Tag Info

New answers tagged

0

Solved it using convert -crop geometry +repage: convert -crop 100%x20% +repage image.png image.png


4

Using ImageMagick: $ convert -crop 800x1000 image.png cropped_%d.png Will create a sequence of files named cropped_1.png, cropped_2.png, and so on. References Tile Cropping, sub-dividing one image into multiple images ImageMagick v6 Examples -- Cutting and Bordering


1

The solution was to convert image to PNG (thought you would think that for a photo it would actually take more memory, so maybe the error message wasn't very accurate). I found the solution here: http://archive.rebeccablacktech.com/g/thread/44391920#p44393721 But I thought it would be good if the answer could be also found on a bit more... focused place.


2

Maybe is a long shot, but I use pdflatex. I create a file (with a script or whatever) of the style: \documentclass{report} \usepackage{graphicx} \begin{document} \includegraphics[width=0.95\textwidth]{img000}\par \includegraphics[width=0.95\textwidth]{img001}\par [...] \includegraphics[width=0.95\textwidth]{img200}\par \end{document} And then run it ...


1

If you use mkdir -p there won't be any complaints about directories already existing, so put the following at the top of CheckAll.sh: mkdir -p graphics pictures The line echo $(CheckCartoon.sh $FILE) $FILE just displays the result of the calculation together with the filename, you should do something more with it, so replace it with: # store value ...


1

For Linux systems, eog (eye of gnome) and eom (eye of mate) both ask you if you want to refresh if the image is changed. The evince PDF viewer updates automatically if the PDF is changed.


2

The old Gnome image viewer Eye of Gnome seems to automatically reload the image when it is edit in a program such as Gimp. There is also a reload plugin so to you can use a button to reload the image: Works in version 3.8.2


0

Preview.app does what you want. (If you click on the desktop, and the back, the image is refreshed.)


0

KDE's okular does that (at least with PDFs which are completely replaced).


2

A mount point is the location within the filesystem hierarchy where a block device is mounted. In your case, /dev/mmcblk0p1 is the block device file and /run/media/ssuman/ANGSTROM is the mount point. Since it's a script file, it would be up to the script's authors/maintainers to document the command usage and optional parameters - there is no general rule ...


2

Assuming there are only images in that folder, you can ls | grep -v jpg$ to get all filenames that do not end with jpg, which I assume are all the images you want to convert. Then you can use the tool convert from ImageMagick like this ls | grep -v jpg$ | while IFS= read -r FILENAME do convert "${FILENAME}" "${FILENAME%.*}.jpg" done The convert ...


2

Image formats such as JPEG and TIFF can include EXIF data. EXIF was designed for metadata such as the date and location where a photo was taken, copyright information, etc. You can add the text under the “Description” tag. You can use tools such as exiftool, exif or exiv2 to inject and extract EXIF data. exiftool -description=wibble foo.jpg exiftool ...



Top 50 recent answers are included