Secciones de la página

alc. tol


Declaraciones


Constantes


Funciones


Time oriented language


Árbol de ficheros

Funciones

Real AlcImg2JpgDpi()

Tol

Artículos del sitio

Presentación de Tol

Todos los programas

Simuladores visuales

Sitios que me gustan

Por categorías

Algoritmia

Búsqueda y ordenación

Computación fisiológica

Editorial y edición

Gráficos de datos

Herramientas y utilidades

Hipertexto

Informática forense

Lectura óptica de datos

Metaprogramación

No determinista

Ofimática

Recursión e iteración

Reglas y restricciones

Series y estadística









alc.tol de Ink.Watercolor

Alchemy functions Image Alchemy is Copyright of Handmade Software, Inc.

Declaraciones

Funciones

  • Real AlcImg2JpgDpi(Text inpPth, Text outPth, Real width, Real height, Real dpi)
    Convert any image file to a jpeg file of width x heigth pixels and dpi dots per inch. If dpi is 0 doesn't use the dots per inch options.

Constantes

Text AlcPth = "bin/alchlong.exe"; // Executable path

Funciones

Real AlcImg2JpgDpi()

//////////////////////////////////////////////////////////////////////////////
Real AlcImg2JpgDpi(Text inpPth, // Input file path
                   Text outPth, // Output file path
                   Real width,  // Width
                   Real height, // Height
                   Real dpi)    // Dots per inch
//////////////////////////////////////////////////////////////////////////////
{
  Text alcDos = Replace(AlcPth,"/","\\")+" ";
  Text inpDos = Replace(inpPth,"/","\\");
  Text outDos = Replace(outPth,"/","\\");
  Text widTxt = FormatReal(width,  "%.0lf");
  Text heiTxt = FormatReal(height, "%.0lf");
  Text widDpi = If(LE(dpi,0), "", "--X"+FormatReal(width /dpi,"%.3lf")+"i ");
  Text heiDpi = If(LE(dpi,0), "", "--Y"+FormatReal(height/dpi,"%.3lf")+"i ");

  Real sysExe = System(alcDos+                 // Executable
                       "-o -j "+               // Options
                       "-Xb"+widTxt+" "+       //  - width
                       "-Yb"+heiTxt+" "+       //  - height
                       widDpi+heiDpi+          //  - dots per inch
                       inpDos+" "+             // Input file path
                       outDos);                // Output file path
  sysExe
};
//////////////////////////////////////////////////////////////////////////////
PutDescription(
"Convert any image file to a jpeg file of width x heigth pixels and dpi dots
per inch.
If dpi is 0 doesn't use the dots per inch options.",
AlcImg2JpgDpi);
//////////////////////////////////////////////////////////////////////////////

Time oriented language

//////////////////////////////////////////////////////////////////////////////
// FILE    : alc.tol
// AUTHOR  : http://www.asolver.com
// PURPOSE : Alchemy functions
//           Image Alchemy is Copyright of Handmade Software, Inc.
//////////////////////////////////////////////////////////////////////////////


//////////////////////////////////////////////////////////////////////////////
// CONSTANTS
//////////////////////////////////////////////////////////////////////////////
Text AlcPth = "bin/alchlong.exe"; // Executable path


//////////////////////////////////////////////////////////////////////////////
// FUNCTIONS
//////////////////////////////////////////////////////////////////////////////

//////////////////////////////////////////////////////////////////////////////
Real AlcImg2JpgDpi(Text inpPth, // Input file path
                   Text outPth, // Output file path
                   Real width,  // Width
                   Real height, // Height
                   Real dpi)    // Dots per inch
//////////////////////////////////////////////////////////////////////////////
{
  Text alcDos = Replace(AlcPth,"/","\\")+" ";
  Text inpDos = Replace(inpPth,"/","\\");
  Text outDos = Replace(outPth,"/","\\");
  Text widTxt = FormatReal(width,  "%.0lf");
  Text heiTxt = FormatReal(height, "%.0lf");
  Text widDpi = If(LE(dpi,0), "", "--X"+FormatReal(width /dpi,"%.3lf")+"i ");
  Text heiDpi = If(LE(dpi,0), "", "--Y"+FormatReal(height/dpi,"%.3lf")+"i ");

  Real sysExe = System(alcDos+                 // Executable
                       "-o -j "+               // Options
                       "-Xb"+widTxt+" "+       //  - width
                       "-Yb"+heiTxt+" "+       //  - height
                       widDpi+heiDpi+          //  - dots per inch
                       inpDos+" "+             // Input file path
                       outDos);                // Output file path
  sysExe
};
//////////////////////////////////////////////////////////////////////////////
PutDescription(
"Convert any image file to a jpeg file of width x heigth pixels and dpi dots
per inch.
If dpi is 0 doesn't use the dots per inch options.",
AlcImg2JpgDpi);
//////////////////////////////////////////////////////////////////////////////

Árbol de ficheros

Ink.Watercolor construye las páginas del sitio web inkwatercolor.com

  • make.tol proceso principal de generación de contenidos del sitio web
  • tol directorios de código fuente en lenguaje de programación Tol
    • cmm funciones comunes de textos, fechas, conjuntos, ficheros, etc.
      • txt.tol funciones de manejo de textos
      • set.tol funciones de manejo de conjuntos
      • tab.tol funciones de tablas como set of sets
      • ser.tol funciones de series temporales
      • fil.tol funciones de gestión de ficheros
      • zip.tol compresor de ficheros en línea de mandatos
      • apa.tol proceso de ficheros de log de Apache
      • dir.tol funciones de gestión de directorios
    • app funciones especificas de Ink.Watercolor
      • pdb.tol funciones de la base de datos de pinturas
      • pag.tol funciones para generar páginas web Html
      • sed.tol semillas, templates, de páginas web Html
      • ftp.tol funciones para generar mandatos para hacer Ftp
      • xml.tol funciones históricas para sitemaps en Xml
      • alc.tol alchemy para la transformación de imágenes
      • ink.tol funciones auxiliares de InkWatercolor
    • inc.tol inclusión de los ficheros Tol básicos y de aplicación
  • agenda directorio destinado a albergar los ficheros de agendas de posts
    • chpphodb01.txt ejemplo con las 4 primeras obras artísticas que se incluyeron
  • web directorio destinado a las paginas web generadas automáticamente
    • common directorio de recursos comunes a todas las galerías
      • css directorio para ficheros de estilo
        • common.css fichero de estilo para las paginas Html del sitio web
      • seed trozos de código Html para construir templates
        • strseed.htm estructura básica de página Html de inkwatercolor.com
        • pi1lowseed.htm estructura para albergar información sobre una obra
        • pi4cntseed.htm estructura para albergar 4 pinturas en una página
      • src directorio para ficheros javascript
    • chppho directorio para la galería principal de Inkwatercolor
      • index.html ejemplo de página Html generada automáticamente
    • download directorio para material extra para descargas
      • chppho0129.jpg ejemplo de imagen de obra artística para descargar
      • chppho0143.jpg ejemplo de imagen de obra artística para descargar
    • sitemap.xml mapa del sitio web generado en Xml de forma automática
  • history archivo de registro histórico del programa Ink.Watercolor
  • ink_watercolor.pdf documento resumen de funciones del programa de generación Html

2015 asolver.com | Aviso legal | XHTML | Δ Θ Ξ | Creative Commons | Mapa y funciones del sitio

Tol