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
XpSetImageResolution(3Xp)					 XPRINT FUNCTIONS					 XpSetImageResolution(3Xp)

NAME
XpSetImageResolution - Sets the resolution for subsequent PutImage requests SYNOPSIS
cc [ flag... ] file... -lXp [ library... ] #include <X11/extensions/Print.h> Bool XpSetImageResolution ( display, print_context, image_res, prev_res_return ) Display * display ; XPContext print_context ; int image_res ; int * prev_res_return ; ARGUMENTS
- display Specifies a pointer to the Display structure. - print_context Specifies the print context on which to set the resolution. - image_res Specifies the image resolution in pixels per inch. - prev_res_return Returns the previous image resolution in pixels per inch. DESCRIPTION
XpSetImageResolution returns True if the printer server allowed the resolution to be set, otherwise False is returned. XpSetImageResolution sets the resolution for subsequent PutImage requests to the screen of the specified print context. If the return value is False, then the print server does not support image scaling for the particular resolution given the current configuration of the printer, and the application is responsible for any desired scaling. If the return value is True, then the contents of any subsequent PutImage request to a Pixmap or to a Window on the screen of the specified print context will automatically be scaled as part of the PutIm- age request. The scale factor is: default_printer_resolution / image_res Where default_printer_resolution is the current value of that page attribute. Only the image itself is scaled (meaning the effective width and height of the image change), the dst-x and dst-y parameters to PutImage are not altered. As a special case, a value of zero for image_res resets the resolution to automatically track the printer resolution; in this case (which is also the default setting for a newly created print context), subsequent images will not be scaled. If the return value is True and prev_res_return is a non-NULL pointer, then the previous image resolution that was set for the print con- text is stored in prev_res_return. XpSetImageResolution returns False immediately if image_res is negative or greater than 65535. DIAGNOSTICS
XpBadContext A valid print context-id has not been set prior to making this call. X Version 11 libXp 1.0.0 XpSetImageResolution(3Xp)
All times are GMT -4. The time now is 10:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy