Photo Klasse: Grund-Methoden implementieren #1

Closed
opened 2026-09-29 20:26:17 +00:00 by mathias2784 · 0 comments
Owner

Noch ziemlich leer: src/photools3/photo.py:

from pathlib import Path


class Photo:

    def __init__(self):
        ...

    @classmethod
    def from_file(cls, path: Path) -> Photo:
        # TODO
        return cls()

    def resize(self) -> Photo:
        # TODO
        return self
  • resize benötigt für Prompt
  • Außerdem: Methode für "Convert image to base64-encoded JPEG for LLM input"
Noch ziemlich leer: `src/photools3/photo.py`: ```python from pathlib import Path class Photo: def __init__(self): ... @classmethod def from_file(cls, path: Path) -> Photo: # TODO return cls() def resize(self) -> Photo: # TODO return self ``` - resize benötigt für Prompt - Außerdem: Methode für "Convert image to base64-encoded JPEG for LLM input"
mathias2784 added this to the photools3 project 2026-09-29 20:26:17 +00:00
mathias2784 moved this to To Do in photools3 on 2026-09-29 20:26:38 +00:00
mathias2784 added a new dependency 2026-09-29 20:30:16 +00:00
mathias2784 added this to the Photo KI-Sichtung per CLI-Call milestone 2026-09-30 09:43:58 +00:00
mathias2784 modified the milestone from Photo KI-Sichtung per CLI-Call to CLI-Aufruf: Chat mit Photo 2026-09-30 17:53:48 +00:00
mathias2784 moved this to In Progress in photools3 on 2026-09-30 17:55:19 +00:00
mathias2784 added reference photo_basics 2026-09-30 17:56:49 +00:00
mathias2784 moved this to Done in photools3 on 2026-09-30 21:01:58 +00:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Blocks
#2 Erstes Test Setup
mathias2784/photools3
Reference: mathias2784/photools3#1