Respuesta
Herramientas  
Antiguo 24/04/07, 01:57:15   #1
senhez


¡Gracias! enviadas: 29
¡Gracias! recibidas 76
Ingreso: mar 2006
senhez es una joya Mensajes: 2.068
.: 10
Nivel de Actividad: 39%
Antigüedad: 100%
Automatizacion y reajustes de fotografias

Hola amigos/as

Algunas veces tenemos poco tiempo y necesitamos hacer mucho.
Un ejemplo de tarea es reajustar multiples fotografias a un tamaño estandar
predetermninado por nosostros.

Para esta tarea de reajuste de tamaño de imagenes tenemos varios software e incluso Widgets

Realizar esto con mutiples fotografias puede resultar una perdida de tiempo
Gracias a la potencia de Mac OS X Tiger y su automator podemos realizar esta tarea en segundos.

Abra su editor de script en Aplicaciones->AppleScript->Script Editor y escriba:

on open some_items
repeat with this_item in some_items
try
rescale_and_save(this_item)
end try
end repeat
end open


to rescale_and_save(this_item)
tell application "Image Events"
launch
set the target_width to 120
-- open the image file
set this_image to open this_item

set typ to this_image's file type

copy dimensions of this_image to {current_width, current_height}
if current_width is greater than current_height then
scale this_image to size target_width
else
-- figure out new height
-- y2 = (y1 * x2) / x1
set the new_height to (current_height * target_width) / current_width
scale this_image to size new_height
end if

tell application "Finder" to set new_item to ¬
(container of this_item as string) & "reajuste." & (name of this_item)
save this_image in new_item as typ

end tell
end rescale_and_save


Desde la barra de tareas guardelo en formato aplicacion en su escritorio con el nombre que usted desee.

Ahora arrastre mutiples fotografias sobre este icono y el script automaticamente ajustara el tamaño y le dara un nuevo nombre reajuste.nombre_original

Un ejemplo se adjunta
Archivos Adjuntos
Tipo de Archivo: zip reajuste.zip (20,4 KB, 6 visitas)
¿Tienes un Podcast y te gustaría darlo a conocer en Applesana?

Comandos de teclado Mac OS X para switchers Mac
  Responder Con Cita
Antiguo 24/04/07, 13:12:48   #2
Avatar de juker12
Embobado


¡Gracias! enviadas: 22
¡Gracias! recibidas 114
Ingreso: mar 2006
Ubicación: mirando moscas
juker12 has a brilliant future Mensajes: 6.244
.: 127
Nivel de Actividad: 62%
Antigüedad: 99%
Premios Applesana
Mac OS X Música 
Totales: 2
Muy practico maestra senhez por lo menos para mi que solo uso iphoto y para el resize me apaño con esto que es lo unico que le falta a iphoto y paso de chorradas de otros softwares

Eso si...el target me lo pongo a 480 que 120 es muy....muy..chico para mi :-)
Es de bien nacido ser agradecido. Antes de pedir ofrece tu primero.
Compartir es gratis y bueno
Intel G33 / Intel Quad Core 2.4 GHz G0 / ATI X1650 (Cortesía Miliuco) / 2GB Ram / Mac OS X 10.5.5
  Responder Con Cita
Respuesta

Guardar este post en Favoritos

Herramientas

Saltar a Foro:
Marcar Como Leídos
Foro Applesana
Applesana.com ©2008
La zona horaria es GMT +2. Ahora son las 03:15:29.