Fedora :: A Batch Program That Reduces Size Of Jpeg Files?
Nov 11, 2009
king for a program or command line tool that ease the process of reducing size of many .jpeg files at once.I've been doing this with gimp manually by reducing jpeg quality and it's painful for 10 or 15 files to do that
View 7 Replies
ADVERTISEMENT
Nov 12, 2010
Ubuntu 10.04, xsane 0.996, Brother MFC 240c scanner.I just finished writing a long dissertation on my problem with this scanning environment (which I will spare you). In a nutshell the resulting image, when printed, is smaller than the original document. In writing my dissertation for this post I determined that the cause of the issue is that xsane believes I am scanning an 8.5 x 14 inch document when I am in fact scanning an 8.5 x 11 letter. So the question is... can I change the size to 8.5 x 11? and if so, how? I have not found anything in the xsane Preferences.
View 7 Replies
View Related
Jul 15, 2011
I bought new hdd (WD2002FAEX-007BA0). This disk have normal block size (512bytes) so I do not bother with the alignment.I trying make test write speed.
Code:
dd if=/dev/zero of=/dev/sda oflag=direct bs=16384 count=100000
100000+0 records in
[code]...
View 6 Replies
View Related
Dec 29, 2010
I'm trying to open jpeg attachments in Thunderbird in Fedora 13, by choosing Gimp 2.6. I browse to Gimp in /etc and there are a number of files in the folder.
Could you please help with the correct path to Gimp to open the attachment jpegs as I am unable to open them at present.
View 2 Replies
View Related
Aug 27, 2010
when i scan some documents they are saved as .PNM files. what I would like is JPGs.
does anybody know any good ways of batch converting pnm files to jpeg files.
View 9 Replies
View Related
Jan 12, 2010
Anyone knows a program to convert jpeg/jpg to pdf format?
View 4 Replies
View Related
May 26, 2010
I just did something stupid... I wanted to remove a numeric prefix from a bunch of files in a folder (EXT4 filesystem), and I ran the following Python commands to rename the files:
Code:
import os
currentdir = os.getcwd()
[code]...
View 7 Replies
View Related
Sep 4, 2011
Any recommendations, the only thing I can find is inkscape, gimp doesn't seem to offer that facility.
View 4 Replies
View Related
Jan 20, 2010
Looking for jpeg image manipulation program
I was wondering what is available in the Linux world that would allow me to combine two or more jpegs into one grid-based image. I want to upload some images to an online auction and would like to combine them beforehand.
Haven't looked through Synaptic Package Manager yet.
View 5 Replies
View Related
Mar 30, 2010
I've been trying to find a way to take a bunch of jpeg images and while maintaining their quality (no loss at all) compile them in such a way as to make one coherent file. Maybe something like a pdf, but while maintaining quality. I've tried converting to pdf and djvu, but the quality is always reduced, but if you know of a way to preserve quality, I'll use it.An alternative is an image viewer that can look inside archives, so I just make a zip or tgz of the images and then use the image viewer to access them. I've tried a few
View 9 Replies
View Related
Apr 22, 2011
I have many video files that I'm trying to convert from *** to .mp4..Currently I'm using Handbrake which does a good job but getting it started is very tedious. In Handbrake I need to confirm and add to queue all of the files. When there are over 200 files at a time it takes way too long. If there is a way to not confirm all of the files please let me know.What program can I use to just add a folder and have it automatically add all of the files to my queue?
View 9 Replies
View Related
Jul 5, 2010
anyone know of a batch image resize resample program ? kinda like VSO or Infranview for linux ?
View 2 Replies
View Related
Jun 29, 2011
The icons in the applications pane are very big, I need to scroll multiple times inorder to reach the last program. How to reduce the icon size, so that all the installed programs can be visualized without to much scrolling?
View 14 Replies
View Related
Aug 21, 2010
Which is the most commonly used utility for opening .jpeg, .png and .tiff files on Linux?
View 3 Replies
View Related
Apr 5, 2010
I am using the following command to create a video of a bunch of jpeg files. The problem is that some of the jpegs are portrait and others are landscape. Ffmpeg is stretching the portrait images. Is it possible to maintain aspect ratio of the jpegs... perhaps put black bars on the portrait images using ffmpeg?
ffmpeg -r .75 -f image2 -i Image%d.jpg output.mp4
View 3 Replies
View Related
Jul 10, 2011
Having trouble handling JPEG-2000 files. Message says I need some plugin. I've checked in Synaptic and there are a couple of packages installed by default that mention JPEG 2000 but obviously I need something else. Any ideas?
View 3 Replies
View Related
Mar 2, 2010
most canon selphy printers does not work under linux, but i think its possible to send files to a selphy printer via bluetooth. and after recieving the file, it instantly prints the image. my question is, is there a way to send files from a pc to selphy via usb instead of bluetooth. i believe you can use obexftp to send files from pc->selphy and it will instantly print, the problem with this approach is that it takes a lot of time to send the file. if there is a way to use a cable to transfer the files then we could print directly. or is there a cable that somewhat simulates how bluetooth transfers.
View 1 Replies
View Related
Oct 19, 2010
I recently installed JDK 6 runtime using apt-get install in terminal. I downloaded a .jar file and attempted to run it but I got an error telling me it has blocked the file for some reason.Another thing was, how can I run batch files? I know ubuntu doesn't come with something like MS DOS but is there anything similar that I can run batch files with?
View 3 Replies
View Related
Nov 9, 2010
Is it possible?I am mainly looking for A shell script or program that can convert a Batch (.BAT) file into a Windows executable (.EXE), or
A program that can be run from MS-DOS that can turn a batch into an exe.
View 3 Replies
View Related
May 29, 2010
I'm completely new to scripting and I'm trying to figure out how to write a script that will get a list of all the files in a directorywn through any subdirectories.When I have the list I want to o each file in VI and change the fileformat. So far all I have been able to figure out is that VI can do the batch processing and that "ls -R" gets me the recursive file list. I'm still pretty clueless on how to do the batch process with the VI editor. I think I'm supposed to use the Ex mode but I don't know how to get the list of arguments from the filelist into the editor so they can be processed. If it matters the files were all written in a Windows editor and have gotten the MS carriage returns so I want to do a :set ff=unix command on all the files without having to go into each file manually, there are over 300 files that need updated.
View 3 Replies
View Related
Dec 11, 2010
I run a script which generated about 10k files in a directory. I just discovered that there is a bug in the script which causes some filenames to have a carriage return (presumably a '' character).
I want to run a sed command to remove the carriage return from the filenames.
Anyone knows which params to pass to sed to clean up the filenames in the manner described?
I am running on Linux (Ubuntu)
The character causing the filename to 'break up' accross multiple lines appear to be a CR (carriage return) instead of ' '. The filename is being diaplayed in thetitle of a text editor with %0D in the positions of where the file name breaks up. So I need to remove the CR chars from my filenames.
View 1 Replies
View Related
Apr 16, 2011
So I have a php script that is setup to stream flash video (.flv) and I absolutely love having it. The problem is that any files I want to stream have to be in .flv format for it to work properly as .avi and others obviously don't stream well. Up until now, I've used FFMpeg to change the format from .avi to .flv, however the process takes a lot of time if you have a lot of videos, added to that you have to do one file at a time definitely makes it a pain.Does anyone know of a bash script that can take all the files (i.e. avi, .wmv, .mkv, .mpeg4) in one folder and automatically convert it to .flv? Then possibly delete the old files? Low resolution is fine, so long as it at least viewable. Does anyone have a script or know of a program that can do this (I run Ubuntu 10.04). I think FFMpeg has the best chance of doing this, but I don't know the syntax to actually do so.
I've searched the internet, and while I have found a few scripts, they didn't work for me (still looking into two scripts I found.I am currently messing with them to see if I can get them to work).It would be immensely helpful if someone knew of a way to do this.I also forget to mention that I have used Winff, but I was looking more for a bash script to do this so that I can set a cron job to convert them every hour or so.
View 4 Replies
View Related
Oct 9, 2010
I have a lot of pdf files and I want to convert them to a lower quality for the web. I tried to use the following command (using ghostscript): Code: gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/default -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf Is there a way to make a batch to do this for all pdf-s in a folder?
View 4 Replies
View Related
Jan 25, 2010
System - openSUSE 11.2 "Emerald" KDE (with gnome base)
Player - vlc
I'm hoping to find a batch of codecs for my newly installed openSUSE OS. I have a very troublesome collection of .mkv files that took several codec packs to make them work. For a brief explanation, I had tried haali and matroska both together and they still didn't work on certain mkvs. I ended up using CCCP, but that's win only as far as I can tell. It took the latest update of CCCP to work on all of my mkvs.
View 4 Replies
View Related
Mar 6, 2011
I have files whose names look like this:Sim1-2_40.36.chr20_sb.foo.indel.novoalign.samSim1-2_40.36.chr20_sb.foo.indel.bwa.samWhat I want to do is to replace all indel with snp in the namesyieldingSim1-2_40.36.chr20_sb.foo.snp.novoalign.samSim1-2_40.36.chr20_sb.foo.snp.bwa.samBut why this unix command doesn't work
View 4 Replies
View Related
Jun 30, 2011
I have a bunch of photos with varying names. I want to give each photo a random name(*), how do I do that? (*)I'm going to put them on a digital photo-frame that can't shuffle
View 4 Replies
View Related
Jul 16, 2011
I have recently been tasked to extract the subtitles from a lot of mkv files. Hundreds of them, maybe even more than a thousand. To do this, I modified a script I found online:
#!/bin/bash
IFS="|"
if test -z $1; then
[Code].....
So in the above example the subtitle is actually in track number one and my script would be borked for that particular file. Is there a way to integrate mkvinfo into the script and parse it to see what track should be extracted? Like, read it line-by-line and change the value of some #TRACKNO variable everytime a string like "| + Track number:" appears, and stop when a string like "| + Track type: subtitles" appears? Maybe even skip doing anything if there aren't any subtitles.
PS: I actually prefer SRT subtitles to ***. If there was some command line tool I could use to convert the resulting *** file to SRT I would be much obliged.
View 2 Replies
View Related
Feb 21, 2010
I have some random files in a folder. I want to rename all of the files in a batch process. I have a text file that contains the Currentname of all the files in the folder, as well as a text file with all of the Newname of files in the folder. I want to replace Currentnames with Newnames.
For example, here are the names of the files in the folder:
1.mp4
2.mp4
3.mp4
I have a text file with the Currentname of all the files in the folder:
1.mp4
2.mp4
3.mp4
I have a text file with the proper Newname of the file:
a.mp4
b.mp4
c.mp4
I want to rename Currentname with Newname in the folder. So when I go to the folder the Newname of the files are:
a.mp4
b.mp4
c.mp4
View 14 Replies
View Related
Jan 15, 2010
I'm not asking for help here, just documenting something I just discovered. Yesterday I wanted to batch-convert a bunch of old wma files to ogg vorbis. Not wanting to go through intermediate wav files, I tried to use ffmpeg to do it in one go. I first tried using the following command (in a loop, which I won't print here).
Code:
ffmpeg -i $file -f ogg -acodec vorbis -ab 192k outputdir/$file "vorbis" turns out to be the built-in libavc implementation of the codec. In the process I discovered that the -ab value is always ignored. No matter what value you put, the output is always the default 64k (average, but of course it's vbr). You can however use the poorly-documented -aq option to set the audio quality used. The values don't correspond to the oggenc values though, being a number ranging from 10-100 (or more, I don't know what the maximum is). It's not exactly clear what number corresponds to what average bitrate, so you have to experiment. ~30 seems to give you an average-rate file, while anything above 60 is probably overkill.
Switching to the external libvorbis gave me more flexibility, although at a cost of much longer encoding times (note that ffmpeg must have been compiled with libvorbis support first).
Code:
ffmpeg -i $file -f ogg -acodec libvorbis -ab 192k outputdir/$file
ffmpeg -i $file -f ogg -acodec libvorbis -aq 6 outputdir/$file
I could use both -ab and -aq (with the numbers corresponding to the oggenc values), with no problems. ffmpeg does display some wrong values in it's output text, however. In addition, there's one more difference. The vorbis (libavc) codec provides an entry in the header of the ogg container reporting the average bitrate, but it doesn't appear to provide a similar bitrate header in the vorbis stream itself. Some programs may not report the bitrate value because of this.
libvorbis provides both headers, avoiding that problem. So to summarize, libvorbis appears to be a better codec choice than vorbis.
View 10 Replies
View Related
Dec 10, 2010
I have about 300 files that need renaming, because the file system does not display the French characters properly. The dodgy letter in question has been replaced by a "question mark in a black diamond" symbol.No way of renaming, other then using mv in the Konsole has worked. Is there any way, script or program out there, that will do a batch rename?
View 9 Replies
View Related