Skip to content

jparadaa/harbour-image-compressor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Compresor de Imágenes para Harbour con libGD

Implementación de compresión y redimensionamiento de imágenes usando libGD para Harbour.

📦 Instalación

1. Instalar vcpkg y libGD

cd C:\
git clone https://github.com/Microsoft/vcpkg.git
cd vcpkg
bootstrap-vcpkg.bat
vcpkg install libgd:x64-windows-static

2. Clonar y compilar

git clone https://github.com/jparadaa/harbour-image-compressor.git
cd harbour-image-compressor
hbmk2 compresor.hbp -comp=msvc64

🔧 Funciones Disponibles

  • gdImageCreateFromJpeg() - Cargar JPEG
  • gdImageCreateFromPng() - Cargar PNG
  • gdImageCreateFromGif() - Cargar GIF
  • gdImageJpeg() - Guardar JPEG con calidad configurable
  • gdImageCopyResampled() - Redimensionar con interpolación
  • gdImageSX() / gdImageSY() - Obtener dimensiones
  • gdImageDestroy() - Liberar memoria

📖 Documentación Completa

Lee el artículo completo en mi blog: Compresión de Imágenes con Harbour y libGD

🔗 Proyectos Relacionados

📝 Nota sobre la autoría

Este proyecto fue implementado con herramientas de inteligencia artificial (Claude de Anthropic). La supervisión, pruebas y validación fueron realizadas por Javier Parada, asegurándose de que toda la implementación funcionara correctamente en entornos reales de desarrollo.

📄 Licencia

MIT License

Copyright (c) 2025 Proyecto público

EL SOFTWARE SE PROPORCIONA "TAL CUAL", SIN GARANTÍA DE NINGÚN TIPO, EXPRESA O IMPLÍCITA, INCLUYENDO PERO NO LIMITADO A LAS GARANTÍAS DE COMERCIABILIDAD, IDONEIDAD PARA UN PROPÓSITO PARTICULAR Y NO INFRACCIÓN. EN NINGÚN CASO LOS RESPONSABLES DE LA PUBLICACIÓN O LOS TITULARES DEL COPYRIGHT SERÁN RESPONSABLES DE NINGUNA RECLAMACIÓN, DAÑOS U OTRAS RESPONSABILIDADES, YA SEA EN UNA ACCIÓN DE CONTRATO, AGRAVIO O DE OTRO MODO, QUE SURJA DE O EN CONEXIÓN CON EL SOFTWARE O EL USO U OTROS TRATOS EN EL SOFTWARE.

About

Harbour image compressor with libGD

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages