Sponsored Content
Full Discussion: resize images
Top Forums Shell Programming and Scripting resize images Post 302723187 by graphicsman on Monday 29th of October 2012 03:01:16 PM
Old 10-29-2012
resize images

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. Smilie
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to resize partitions?

I have recently changed software systems for my small business. I was running SCO OpenServer v 5.0 and have now gone to a windows based system using Windows Server 2003. No problems with the changover as the server hardware was changed also. The problem I am having is that I would like to... (2 Replies)
Discussion started by: dtn
2 Replies

2. AIX

resize fs

Hello everyone I need to resize a filesystem /home I want to add 200mb and I have space on the disk with lsvg rootvg command I check this but I cant because has a mirror. Do you know some way that I can do this. Thanks in advance (1 Reply)
Discussion started by: lo-lp-kl
1 Replies

3. Shell Programming and Scripting

resize

Hello, I created a script that runs perfectly on 2 different account but I it will not run in 2 others (HP-UX). I noticed that the problem is caused by the resize command in the .profile of the problematic accounts. Since it is a prod server, I dont want to remove it witout knowing what it is... (4 Replies)
Discussion started by: drbiloukos
4 Replies

4. HP-UX

Resize volume

Dear All, We have HP Unix 11.31. We have two VG, VG01 and VG02. In VG01 there are three mount point each of 100gb size. There is no data on below mount point /soft/01 /soft/02 /soft/03Is it possible to resize each of these mount point to 50 GB. So 150 GB will free and release from... (2 Replies)
Discussion started by: bhattnirav
2 Replies

5. Red Hat

Please tell me how to resize the partitions

It is not allowing me to create a new partition...... I know that there are no free sectors available.... I want to RESIZE the partitions which are already created. Please tell me how to resize the partitions.....Don't tell me that we can resize through parted command.... please tell me all... (2 Replies)
Discussion started by: vamshigvk475
2 Replies

6. Shell Programming and Scripting

Want to resize images for a specific size on server - Please help

,,,,,, (4 Replies)
Discussion started by: Praveen Pandit
4 Replies

7. Shell Programming and Scripting

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... (5 Replies)
Discussion started by: Frozen77
5 Replies

8. Shell Programming and Scripting

Bash Script to find/sort/move images/duplicate images from USB drive

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

9. Solaris

Resize rpool

Hi, I have rpool about 500G. So i want to use 210G from rpool and assign mount point as /database. I seek in google and couldn't found it. Does anyone know how to achieve it? Thanks. (2 Replies)
Discussion started by: mzainal
2 Replies

10. Red Hat

LVM resize

In RHEL7 I created an LVM partition with vfat filesystem I am unable to reduce the size for ext4 file system i sued below commands to reduce the lvm # umout /lvm (mount point) # e2fsck -f /dev/vgname/lvname # resize2fs /dev/vgname/lvname 100M (Say from 200M) # lvreduce -L 100M... (2 Replies)
Discussion started by: SIva81
2 Replies
mlib_ImageBlendMulti_Fp(3MLIB)				    mediaLib Library Functions				    mlib_ImageBlendMulti_Fp(3MLIB)

NAME
mlib_ImageBlendMulti_Fp - blend multiple images SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ] #include <mlib.h> mlib_status mlib_ImageBlendMulti_Fp(mlib_image *dst, const mlib_image **srcs, const mlib_image **alphas, const mlib_d64 *c, mlib_s32 n); DESCRIPTION
The mlib_ImageBlendMulti_Fp() function blends multiple source images, using multiple alpha images, into a single destination image. All images involved should have the same data type and same size and the source and destination images should have the same number of chan- nels. The alpha images should have either 1 channel or the same number of channels as the sources and destination. A single-channel alpha image would be applied to all channels of the corresponding source image. Single and multi-channel alpha images can be mixed in the same invocation. It uses the following equation: n-1 SUM {alphas[k][x][y][j] * srcs[k][x][y][i]} k=0 dst[x][y][i] = --------------------------------------------- n-1 SUM {alphas[k][x][y][j]} k=0 or n-1 dst[x][y][i] = c[i] if SUM {alphas[k][x][y][j]} = 0 k=0 where j = i for multi-channel alpha images; j = 0 for signle-channel alpha images. PARAMETERS
The function takes the following arguments: dst Pointer to destination image. srcs Pointer to an array of source images. alphas Pointer to an array of alpha images. c Background color. n Number of source images to be blended. RETURN VALUES
The function returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ SEE ALSO
mlib_ImageBlendMulti(3MLIB), mlib_ImageBlend(3MLIB), mlib_ImageBlend_Fp(3MLIB), attributes(5) SunOS 5.11 2 Mar 2007 mlib_ImageBlendMulti_Fp(3MLIB)
All times are GMT -4. The time now is 08:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy