Respuesta
Herramientas  
Antiguo 24/04/07, 01:57:15   #1
senhez no está en línea senhez
senhez


¡Gracias! enviadas: 13
¡Gracias! recibidas 32
Ingreso: mar 2006
senhez es una joya Mensajes: 1.969
.: 10
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?
Aquí hay un link o imagen que no puedes ver por que necesitas 10 mensajes o más. Tu tienes 0 mensajes.
name="quality" value="high">


Aquí hay un link o imagen que no puedes ver por que necesitas 10 mensajes o más. Tu tienes 0 mensajes.
  Responder Con Cita
Antiguo 24/04/07, 13:12:48   #2
juker12 no está en línea juker12
Avatar de juker12
Juker


¡Gracias! enviadas: 9
¡Gracias! recibidas 66
Ingreso: mar 2006
Ubicación: Currando
juker12 has much to be proud of Mensajes: 6.026
.: 123
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

Aquí hay un link o imagen que no puedes ver por que necesitas 10 mensajes o más. Tu tienes 0 mensajes.
  Responder Con Cita
Respuesta

Bookmarks


Usuarios activos actualmente viendo este tema: 1 (0 miembros y 1 visitantes)
 
Herramientas

Normas de Publicación
Tu no puedes publicar nuevos Temas
Tu no puedes publicar respuestas
Tu no puedes publicar adjuntos
Tu no puedes editar mensajes

BB code is habilitado
Las caritas están habilitado
Código [IMG] está habilitado
Código HTML está deshabilitado
Saltar a Foro:
Marcar Como Leídos
Foro Applesana
Applesana.com ©2008
La zona horaria es GMT +2. Ahora son las 03:54:22.