Posts: 4,647
Threads: 1,494
Joined: Sep 2016
there seem to be many libraries to read and write images from and to a file or other storage, as found on duckduckgo. i wonder which you would recommend. my preferences would be wide variety of storage formats (i only need to do files), ease of use, commonly used in Python community, compatible with other graphics tools usable in Python.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Posts: 741
Threads: 122
Joined: Dec 2017
Hi Skaperen,
I do a fair amount of image manipulation, but I do not
understand your question.
To move files from one place to another, copy/paste will do.
But i'm sure you want something else.
Paul
It is more important to do the right thing, than to do the thing right.(P.Drucker)
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.
Posts: 4,647
Threads: 1,494
Joined: Sep 2016
i want to read an image from a file, manipulate the pixels in the Python code (to be developed), and write the image to a file. i expect to get the geometry of the file when i read it in.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Posts: 4,647
Threads: 1,494
Joined: Sep 2016
(Feb-10-2022, 08:06 AM)millpond Wrote: You first need to extract the image file per its image type.
if by type you mean how the pixels are encoded into an 8-bit (bytes) file, such as GIF, JPEG, or PNG (to name a small subset). i call these "storage formats". i hope to have a wide range of support. i hope there is automatic detection so most files provided by most people will
just work. it would be nice for the API to indicate the type so my code can provide the result in the same format.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.