Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

`stdImage` improvements

Abierto
#98 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Estancado

Línea de trabajo

Start by reviewing the stdImage entry points listed in the tracker, especially CreateFromBinary, CreateFromDataURL, ToDataUrl, WEBP support, and the requested examples or hack removals. The issue does not name implementation files or tests, and completion would require selecting and implementing a defined subset of the unchecked items before updating the checklist.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

megathread
Tracker
  • CreateFromBinary(ByRef b() As Byte, ByVal format as stdImgFormat) As stdImage
  • CreateFromDataURL(ByVal sURL as string) as stdImage
  • CreateFromFile(ByVal sPath As String, Optional ByVal format as stdImgFormat = stdImgFormatDefault, optional byval transparentColor as Long = 0) As stdImage
    • BMP, GIF, JPEG, PNG, TIFF, WMF, EMF
    • WEBP
  • CreateFromUrl(ByVal sURL As String, Optional ByVal format as stdImgFormat = stdImgFormatDefault) As stdImage
    • AutoProxy?
    • Possibly remove? stdHTTP should really be used...
  • CreateFromHBitmap(ByVal hBitmap As LongPtr) As stdImage
  • CreateFromClipboard() As stdImage
  • CreateFromIPictureDisp(ByVal picture As stdole.IPictureDisp) As stdImage
    • Need an example
  • CreateFromStdPicture(ByVal picture As stdole.stdPicture) As stdImage
  • CreateFromIPicture(ByVal picture As stdole.IPicture) As stdImage
    • Need an example
  • CreateFromExcelIPicture(ByVal picture As Excel.IPicture) As stdImage
    • Need an example
  • CreateFromShape(ByVal shp As Object) As stdImage
  • CreateFromChart(ByVal chart As Object) As stdImage
  • CreateFromHICON(ByVal hicon as LongPtr) as stdImage
  • Get HBitmap() as LongPtr
  • Get HICON() as LongPtr
  • ToBinary(Optional ByVal eFormat As stdImgFormat = stdImgFormatDefault) As Byte()
    • Remove hack
  • ToFile(ByVal FileName As String, Optional format As stdImgFormat = stdImgFormatDefault, Optional ByVal Quality As Byte = 80, Optional ByVal TIFF_ColorDepth As Long = 24, Optional ByVal TIFF_Compression As Long = 6)
  • ToClipboard()
    • Remove hack
  • ToTempFile(Optional ByVal eFormat As stdImgFormat = stdImgFormatDefault) as string
  • ToSheet(ByVal ws as Worksheet, Optional ByVal Top as Double = 0 , Optional ByVal Left as Double = 0, optional ByVal compress as MsoPictureCompress) as Object
  • ToUIControl(Byval oControl as object)
  • ToDataUrl(Optional ByVal eFormat As stdImgFormat = stdImgFormatDefault) as string
  • ToShapeFill(ByVal shp As Object)
  • ToStdPicture() as stdole.StdPicture
  • CreateFromScreen() - I.E. Screenshot
  • CreateFromWindow(ByVal hwnd as LongPtr) - Create screenshot from window
  • Colors() as Long() - Obtain colors from image
Resources

https://stackoverflow.com/questions/1507385/how-do-i-convert-a-stdole-stdpicture-to-a-different-type

Lenguaje dominante
VBA
Estrellas
413
Forks
70
Merge medio
16 h 10 min
PR fusionados (30 d)
3

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de sancarn/stdVBA

Todos los issues de sancarn/stdVBA

Issues similares

Más issues de Computer Graphics

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.