07-14-2014
How to find & auto resize images?
I need a command or mini scripts that can find certain type of images file recursively from the current dir with files of minimum 736 width and resize them by "736 max width, relative height" and replace the source files. I currently have GD installed but can also install Imagemagick if needed, I'm not sure which is better. Is this possible? Help is appreciated. Thanks in advance.
9 More Discussions You Might Find Interesting
1. Programming
I am writing a program to display a database to the screen(xterm) and want to allow the window resize signal to increase/decrease the amount data that is displayed. I have a signal handler function for catching the SIGWINCH event and calling a function to reallocate the space for the windows... (0 Replies)
Discussion started by: kwaz
0 Replies
2. Shell Programming and Scripting
find . -type f -name "*.sql" -print|xargs perl -i -pe 's/pattern/replaced/g'
this is simple logic to find and replace in multiple files & folders
Hope this helps.
Thanks
Zaheer (0 Replies)
Discussion started by: Zaheer.mic
0 Replies
3. Shell Programming and Scripting
Hi,
I"m trying to achieve the following:
I have a NAS which holds all my pictures, and have it mounted on my xbmc as a network share. I want to automatically synchronize my pictures (NAS -> xbmc, one direction).
But, during the synchronization I want to resize the pictures to make them... (7 Replies)
Discussion started by: Joeba
7 Replies
4. Linux
hi experts
2012-01-30 10:30:01:812 "y" "NA" "30/01/2012 10:30:01:154 AM"
2012-01-30 10:33:46:342 "y" "NA" "30/01/2012 10:33:45:752 AM"
2012-01-30 10:41:11:148 "n" "200" "30/01/2012 10:41:10:558 AM"
2012-01-30 10:44:48:049 "y" "NA" ... (7 Replies)
Discussion started by: nith_anandan
7 Replies
5. Shell Programming and Scripting
Hi,
I have a directory with Multiple subdirectories and 1000s of pictures (jpg) in each directory. The problem is that each directory has a 001.jpg in them. I want to append a unique name (the directory_name)would be fine. and then move them to one main backup directory once they have been... (1 Reply)
Discussion started by: kmaq7621
1 Replies
6. Shell Programming and Scripting
Is there a script or extension that I can look into that will re-size an allotment of images to a given size?? Id like to take images of a certain size and resize them but Im dont remember an install option that can do it if installed in ubuntu but I, also unsure in what code I will have to learn.... (2 Replies)
Discussion started by: graphicsman
2 Replies
7. Shell Programming and Scripting
,,,,,, (4 Replies)
Discussion started by: Praveen Pandit
4 Replies
8. UNIX for Dummies Questions & Answers
Hi & good day,
How to use find correctly ?
I have several folders, _img1, _img2 etc.
Then I want to use the find command to find part of an image name, such as:
the string ”modern”
which is (at least) in:
”_img2/modern_world2PS220.jpg”
Also I want to know _in which folder_ it... (10 Replies)
Discussion started by: OmarKN
10 Replies
9. Shell Programming and Scripting
Ultimately, I'm looking to create a script that allows me to plug in a usb drive with lots of jpegs on it & copy them over to a folder on my hard drive. So in the process of copying I am looking to hash check them, record dupes to a file, copy only 1 of the identical files (if it doesn't exsist... (1 Reply)
Discussion started by: JonaQuinn
1 Replies
LEARN ABOUT HPUX
xtconfigurewidget
XtConfigureWidget() XtConfigureWidget()
Name
XtConfigureWidget - move and/or resize widget.
Synopsis
void XtConfigureWidget(w, x, y, width, height, border_width)
Widget w;
Position x;
Position y;
Dimension width;
Dimension height;
Dimension border_width;
Inputs
w Specifies the widget; must be of class RectObj or any subclass thereof.
x, y Specify the widget's new x and y coordinates.
width, height, border_width
Specify the widget's new dimensions.
Description
XtConfigureWidget() sets the size and position of a widget. If the new size and position are the same as the widget's current values, it
returns immediately. Otherwise XtConfigureWidget() writes the new x, y, width, height, and border_width values into instance fields of the
object and, if the object is a widget and is realized, calls XConfigureWindow() on the widget's window.
If either the new width or the new height is different from its old value, XtConfigureWidget() calls the widget's resize() method to notify
it of the size change.
Usage
XtConfigureWidget() should be used only by a parent widget on one of its children widget. If you want to set a widget size or position
from an application, use XtSetValues() to set the XtNx, XtNy, XtNwidth, and XtNheight resources. If widget wants to change its own size or
location, it must use XtMakeGeometryRequest().
XtResizeWidget() and XtMoveWidget() are similar to XtConfigureWidget() but are simpler for the cases when you need only to resize or only
to move a widget.
See Also
XtMakeGeometryRequest(1), XtMakeResizeRequest(1), XtMoveWidget(1), XtResizeWidget(1).
Xt - Geometry Management XtConfigureWidget()