It appears we've been had! The PNG module isn't capable of even half of what the documentation says. I'll fix the documentation... If anyone is looking for a fairly contained and straight forward hack-project, implementing the rest of the PNG support is the answer. You can even tackle one chunk at a time.
I'd really like to see the possibility to apply the compression filters.
What is missing?
/ Mirar
Previous text:
2003-01-06 01:38: Subject: PNG
It appears we've been had! The PNG module isn't capable of even half of what the documentation says. I'll fix the documentation... If anyone is looking for a fairly contained and straight forward hack-project, implementing the rest of the PNG support is the answer. You can even tackle one chunk at a time.
I'd really like to see the possibility to apply the compression filters.
/ Martin Nilsson (bygger parser
Obviously not. Mattias Norrby had ideas to use the text-capability to store annotations directly into the PNG in his photo album module, as is currently possible with JPEG and perhaps GIF.
/ Martin Nilsson (bygger parser
Previous text:
2003-01-06 20:00: Subject: PNG
Ah. Anyone uses that stuff?
/ Mirar
*curious* Is there a limit to the amount of text that you can store in a PNG-image? I have a real bad need to store image regions (who the people in the image are) and a wrapper seems like an unnecessarily bad thing..
/ Peter Lundqvist (disjunkt)
Previous text:
2003-01-07 00:57: Subject: PNG
Obviously not. Mattias Norrby had ideas to use the text-capability to store annotations directly into the PNG in his photo album module, as is currently possible with JPEG and perhaps GIF.
/ Martin Nilsson (bygger parser
In theory (2^31)-1-1-1 bytes (max chunk data size is (2^31)-1 and keyword must be one char and then one null byte), but the recommendation is no more than 1024 characters.
/ Martin Nilsson (bygger parser
Previous text:
2003-01-07 01:02: Subject: PNG
*curious* Is there a limit to the amount of text that you can store in a PNG-image? I have a real bad need to store image regions (who the people in the image are) and a wrapper seems like an unnecessarily bad thing..
/ Peter Lundqvist (disjunkt)
Ok. 1024 bytes (I guess multibyte characters aren't considered ;-) will be cutting it a bit sharp. I'll experiment a bit...
/ Peter Lundqvist (disjunkt)
Previous text:
2003-01-07 01:27: Subject: PNG
In theory (2^31)-1-1-1 bytes (max chunk data size is (2^31)-1 and keyword must be one char and then one null byte), but the recommendation is no more than 1024 characters.
/ Martin Nilsson (bygger parser
That's only a recommendation. If you only use Pike (and if Pike had support for it) there shouldn't be any problem to disregard from the recommendation.
/ Martin Nilsson (bygger parser
Previous text:
2003-01-07 01:54: Subject: PNG
Ok. 1024 bytes (I guess multibyte characters aren't considered ;-) will be cutting it a bit sharp. I'll experiment a bit...
/ Peter Lundqvist (disjunkt)
Don't forget that you can have any number of chunks you want.
/ Per Hedbor ()
Previous text:
2003-01-07 01:27: Subject: PNG
In theory (2^31)-1-1-1 bytes (max chunk data size is (2^31)-1 and keyword must be one char and then one null byte), but the recommendation is no more than 1024 characters.
/ Martin Nilsson (bygger parser
Is there any way to tag the different text chunks with different semantic attributes so that they can be differentiated? (Apart from putting magic character sequences in the actual text of course.)
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
Previous text:
2003-01-07 06:44: Subject: PNG
Don't forget that you can have any number of chunks you want.
/ Per Hedbor ()
You can make your own chunks.
/ Per Hedbor ()
Previous text:
2003-01-07 15:19: Subject: PNG
Is there any way to tag the different text chunks with different semantic attributes so that they can be differentiated? (Apart from putting magic character sequences in the actual text of course.)
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
pike-devel@lists.lysator.liu.se