Sponsored Content
Top Forums UNIX for Beginners Questions & Answers UNIX tool on MacOS that can increase resolution of a file Post 303037730 by Godtookapicture on Sunday 11th of August 2019 03:57:12 PM
Old 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

UNIX on MacOS X

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

how do I increase the character size in the Unix Box

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

How to increase the buffer size in Unix

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

How to increase buffer size in Unix

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

Increase the counter in UNIX

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

how to increase the space unix directores

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)

USB File Transfer MacOS 10.6.5 to Android 2.2?

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

How to increase history number in UNIX?

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

Variable resolution in File content

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

Macos is the UNIX?

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
pbmtextps(1)						      General Commands Manual						      pbmtextps(1)

NAME
pbmtextps - render text into a bitmap via postscript SYNOPSIS
pbmtextps [-font fontfile] [-fontsize fontsize] [-resolution resolution] [-stroke strokesize] [-verbose [text] DESCRIPTION
pbmtextps takes a single line of text from the command line and renders it into a PBM image. The image is cropped at the top and the right. It is not cropped at the left or bottom so that the text begins at the same position rela- tive to the origin. You can use pnmcrop to crop it all the way. OPTIONS
-font By default, pbmtextps uses TimesRoman. You can specify the font to use with the -font option. This is the name of any valid post- script font which is installed on your system. -fontsize Size of font in points. See the -resolution option for information on how to interpret this size. Default is 24 points. -resolution Resolution in dots per inch of distance measurements pertaining to generation of the image. PBM images don't have any inherent reso- lution, so a distance such as "1 inch" doesn't mean anything unless you separately specify what resolution you're talking about. That's what this option does. In particular, the meaning of the font size is determined by this resolution. If the font size is 24 points and the resolution is 150 dpi, then the font size is 50 pixels. Default is 150 dpi. -stroke Width of line to use for stroke font. There is no default stroke width because the letters are solid by default. USAGE
See pbmtext for usage examples. SEE ALSO
pbmtext(1), pnmcut(1), pnmcrop(1), pnmcomp(1), ppmchange(1), pnmrotate(1), ppmlabel(1), pbm(5) AUTHOR
Copyright (C) 2002 by James McCann 02 January 2003 pbmtextps(1)
All times are GMT -4. The time now is 04:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy