08-11-2019
UNIX tool on MacOS that can increase resolution of a file
hi,
I am searching for a native tool on MacOS that can increase the resolution of a group of image files whose aspect ratios (file width versus height) vary widely. There are numerous files so I don't wish to do this manually. Someone suggested the sips command with the resampling option but it appears this requires you to input a desired width and height. As found on the sips man page.
Is there some other UNIX command that can do what I wish? All I need to do (I think) is increase the number of pixels so that when the image is blown up then it appears smooth and not grainy or 'washed-out'.
thanks so much for your suggestions.
postscript - These image files are used in an iOS program and the problem appears on the large screen sizes of the ipad pro third generation.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I am interested in knowing if anyone out there has been using the BSD UNIX that underlies
MacOS X. Is this an "industrial strength" version of UNIX? Can I run X-Windows on such
a machine? How about TeXing, pythoning, PERLing or using other useful UNIX goodies
near and dear to my shrunken... (1 Reply)
Discussion started by: ncmathsadist
1 Replies
2. UNIX Desktop Questions & Answers
do anybody has knowledge how do i increase the character size in the UNIX box (1 Reply)
Discussion started by: subir23
1 Replies
3. UNIX for Advanced & Expert Users
When I checked with top command, I found tht my buffers are always 137M, which means that they are sort of overloaded. My Inactive memory is 520M. Is it possible to increaase the buffer size and what would be the command for that? (0 Replies)
Discussion started by: ziabegg
0 Replies
4. UNIX for Dummies Questions & Answers
The "top" command shows that my buffer size is always at 137M, which I think has reached to the maximum. However, Ido have lots of Inative memory? Is it possible to increae the buffer size? and what is the command for that? Further, this is the buffer for writing to the hard disk? (3 Replies)
Discussion started by: ziabegg
3 Replies
5. UNIX for Advanced & Expert Users
HI! All
Iam facing an issue with split comman in unix
Prifix=Z_PRICE_NEW`date "+%Y%m%d%H%M%S"`
split -5000 Product.txt $Prifix
find . -name "$Prifix*" -print | {
while read FILE;
do
mv $FILE $FILE.txt
done
}
when is execute the comman the command is working fine and generating the... (2 Replies)
Discussion started by: mohdtausifsh
2 Replies
6. AIX
Hi
have IBM aix. unix
my directories are full
when i use
$ df -k
filesystem kbytes used avail capacity mounted on
/dev/root 288880 288880 288880 100% /
/proc 0 0 0 ... (4 Replies)
Discussion started by: raosurya
4 Replies
7. OS X (Apple)
I'm trying to get a MacBook Air (MBA) running 10.6.5 to recognize a Samsung Galaxy S (Android 2.2) vis the USB interface for simple file transfers back and forth. Nothing works so far. I've tried many things! :wall:
I noticed when I connect my phone to the MBA, there is a message in system.log... (2 Replies)
Discussion started by: Neo
2 Replies
8. Solaris
Hi All,
when i use history command i got the last 1000 command
i want to increase this to 10000
how can i do that (4 Replies)
Discussion started by: hosneyxxosman
4 Replies
9. Shell Programming and Scripting
I have a file File1 containing lines like below
apple ${FRUIT}-Color
orange ${FRUIT}-Color
banana ${FRUIT}-Color
Now, in my shell I'm reading the file like below
while read FRUIT DESC; do echo $FRUIT $DESC; done < File1
which outputs -
apple ${FRUIT}-Color
orange ${FRUIT}-Color... (3 Replies)
Discussion started by: nexional
3 Replies
10. UNIX for Beginners Questions & Answers
why,just beacuse that its the bottom layer uses a small amount of bsd code? In my opinion, macos and Unix are completely different. The directories are long directory structures. For example, /application, /system, /user, /volumes, etc. are completely different from the traditional /bin/ /sbin... (5 Replies)
Discussion started by: malaizhichun
5 Replies
LEARN ABOUT FREEBSD
pamdice
pamdice(1) General Commands Manual pamdice(1)
NAME
pamdice - slice a Netpbm image into many horizontally and/or vertically
SYNOPSIS
pamslice -outstem=filenamestem [-width=width] [-height=height] [-verbose] [filename]
You can use the minimum unique abbreviation of the options. You can use two hyphens instead of one. You can separate an option name from
its value with white space instead of an equals sign.
DESCRIPTION
Reads a PAM, PBM, PGM, or PPM image as input. Splits it horizontally and/or vertically into equal size pieces and writes them into sepa-
rate files as the same kind of image.
See the -outstem option for information on naming of the output files.
The -width and -height options determine the size of the output pieces.
pnmcat can rejoin the images.
OPTIONS
-outstem=filenamestem
This option determines the names of the output files. Each output file is named filenamestem_y_x.type where filenamestem is the
value of the -outstem option, x and y are the horizontal and vertical locations, respectively, in the input image of the output
image, zero being the leftmost and top, and type is .pbm, .pgm, .ppm, or .pam, depending on the type of image.
-width=width
gives the width in pixels of the output images. The rightmost pieces are smaller than this if the input image is not a multiple of
width pixels wide.
-height=height
gives the height in pixels of the output images. The bottom pieces are smaller than this if the input image is not a multiple of
height pixels high.
-verbose
Print information about the processing to Standard Error.
SEE ALSO
pamcut(1), pnmcat(1), pgmslice(1), pnm(5)
AUTHOR
put by Bryan Henderson in the public domain in 2001
31 January 2001 pamdice(1)