Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-4041-

GIF compression

Name: Anonymous 2006-04-21 15:52

Hay
Sorry if this should not go in programming but not sure where else to put it

I have a GIF file of a roadmap which is 16k in filesize

if i make the picture 4x as big (ie double each dimension) the filesize increases exponentially ie. more than x4 , i would have thought it would be non exponential as GIF is very good at compressing large areas of the same colour which is what roadmaps normally have (mine has).

WHAT HAPPEN ?

Name: Anonymous 2006-04-21 15:55

Provide the images or I won't bother.

Name: Anonymous 2006-04-21 17:46

SVG

Name: Anonymous 2006-04-21 20:23

>>1
GIF sucks, why are you stil using that? You should be using PNG images.

Name: Anonymous 2006-04-23 14:32

>>4
 Perhaps it is an animated road map.

Name: Anonymous 2006-04-23 14:55

>>1
have you changed the settings in your program? (photoshop...) or maybe the color palette has been modified?

Name: Anonymous 2006-04-23 16:52

>>5
SVG.

Name: Anonymous 2006-04-24 7:05

>>3
SVG is made by Adobe, therefore it fails. SVG is made of XML and waste of bandwidth. Good for marketing, bad for people.

Name: Anonymous 2006-04-24 7:43

>>8
You're aware that XML documents are easily compressible, and in fact tend to compress to a smaller size than binary files?

Name: Anonymous 2006-04-24 8:34

>>8
Authors of the SVG specification include Adobe, Agfa, Apple, Canon, Corel, Ericsson, HP, IBM, Kodak, Macromedia, Microsoft, Nokia, Sharp and Sun Microsystems.

IBM FTW. SVGZ FTW.

Name: Anonymous 2006-04-24 8:49

>>9
You're aware that they are still slower to parse and require an XML parser while a binary format would be a million times better? And all this just for marketing. It's XML, so it must be good. I'm surprised they didn't call it something-ML (ML sells well), although they made sure to include the word "scalable", even though all vector graphics are scalable, just to confuse managers.

>>10
Oh, so it's not entirely developed by faildobe (faildobe's website was like I INVENTED SVG LOL), well, that's good news I guess, but it still fails for XML. SVGZ will be better, but it's still piss slow compared to a binary format.

Name: Anonymous 2006-04-24 9:04

>>11
Web pages should also be a binary format instead of HTML amirite.


Cretin.

Name: Anonymous 2006-04-24 9:30

>>12
Yes you are right. A binary compiled form would have been nice.

Name: Anonymous 2006-04-24 9:31

>>12
With the added difference that you write HTML by hand, but I doubt you'll hand edit a half complex SVG file. There's no use for SVG being readable, storing numbers in ASCII and being a fucking XML marketing product.

Name: Anonymous 2006-04-24 9:33

>>14
I write SVG by hand. Anything else generates loads of janku. Why a 300Tb Adobe generated file when you can do the same yourself in ~300b.

Name: Anonymous 2006-04-24 10:36 (sage)

>>15
OH BOY YOU CAN MAKE A CIRCLE BY HAND
That's no different than making a bitmap by hand in a text editor, idiot

Name: Anonymous 2006-04-24 10:53

>>16
There are differences,
1) It is easier by infinitely many magnitudes.
2) Image editors will generally do a better job with regards to filesize. And the circle as well, because I do not have to check every byte for error.
3) SVG files are plaintext, editing binary data is painful.
4) The SVG circle will be better, and smaller. It will also scale.

Name: Anonymous 2006-04-24 11:04

>>9
 998B Logo.pnm.bz2
1166B Logo.svg.bz2

Name: Anonymous 2006-04-24 11:06

Name: Anonymous 2006-04-24 11:06 (sage)

It will also scale.
Java programmer detected.

Name: Anonymous 2006-04-24 11:08 (sage)

>>19
Not Found
The requested URL /www.opera.com was not found on this server.

Name: Anonymous 2006-04-24 12:38

>>15
a 300Tb Adobe generated file
Why am I not surprised... Lol Adobe, always so... Adobe.

Name: Anonymous 2006-04-24 14:29 (sage)

Scalability (n). A piss poor excuse for piss poor performance.

Name: Anonymous 2006-04-24 15:42

>>20,23
The kind of scaling where you resize the image. I'm sure you are just trolling though.

>>18
Try an image with more data, the SVG header is quite large with a xml declaration, a DOCTYPE and some attributes on the svg element.

Name: Anonymous 2006-04-24 19:43

>>24
While I'm sure he was joking about scalability, I don't think the "Scalable" in SVG is there for nothing. It attracts managers and retards. I'm still wondering why didn't they name it something like SOOEVML (Scalable Object Oriented Enterprise Visual Markup Language).

Name: Anonymous 2006-04-24 21:26

image: http://www.ldeo.columbia.edu/users/menke/envdata/quality/map/kbge.eps

uncompressed:
9.5MB kbge.meta (binary gnu metafile)
24MB kbge.svg
34MB kbge.emf

compressed:
3.6MB kbge.meta.bz2
3.7MB kbge.emf.bz2
3.8MB kbge.svg.bz2

4.7MB kbge.emf.gz
4.8MB kbge.meta.gz
5.0MB kbge.svgz

Name: Anonymous 2006-04-25 5:35

>>26
I suspect you didn't convert and refactor that SVG by hand. Generated SVG is janku.

Name: Anonymous 2006-04-25 10:33

| The kind of scaling where you resize the image.
There is a word for that, it's called "Vector"

>>25 is spot on

Name: Anonymous 2006-04-25 10:34 (sage)

>>28
I mean a word for being able to losslessly resize the image, that is.

Name: Anonymous 2006-04-25 10:43

>>29
Uh... yes, as >>28 said, it's "Vector".


>>28
Problem is managers don't know what "Vector" is, it may sound like Maths to them and that's bad, they've heard of something like that a long time ago, it didn't sell. "Scalable" on the other hand sounds so enterprise.

Name: Anonymous 2006-04-25 12:39

>>27
you really expect people to edit 24MB xml files by hand?

Name: Anonymous 2006-04-25 13:28

>>31
I expect people to know when using SVG is appropriate. For huge datasets I wouldn't use it, because it is not easy to maintain.

Name: Anonymous 2006-04-25 13:43 (sage)

Try an image with more data, the SVG header is quite large with a xml declaration, a DOCTYPE and some attributes on the svg element.
I expect people to know when using SVG is appropriate. For huge datasets I wouldn't use it, because it is not easy to maintain.

Name: Anonymous 2006-04-25 17:05 (sage)

>>33
Yes.

Name: Anonymous 2006-04-25 19:18

>>32
No.

Name: Anonymous 2006-04-26 9:57

>>30


>>28, >>29
same person. should probably have quoted or something, but oh well :P


SCALABLE XML OPEN ENTERPRISE FTW
only if you reverse the last 3 letters...

Name: smrcis 2006-05-10 16:43

"Scalable" because it could also scale a raster graphics.

Name: Anonymous 2006-05-10 18:29 (sage)

sage

Name: Anonymous 2007-07-17 7:35 ID:hFCipBsV

>>1

I suspect that when you resized it, your graphics program actually resampled it and put 'in-between' colours in.

Name: john 2011-06-26 18:02

there's a lib ready at sourceforge, give it a try

Name: Anonymous 2011-06-26 18:21

>>40
thanks john u da man

Don't change these.
Name: Email:
Entire Thread Thread List