Get size of an image

From: QS Computing (qscomputing_at_gmail.com)
Date: 01/27/05


Date: 27 Jan 2005 03:35:46 -0800

I'm looking for some code that will allow me to get the pixel
dimensions of an image in JPG, PNG or GIF format in Delphi 7 Personal.
Obviously I can load a JPG into a TImage with AutoSize=true and check
the size of the TImage afterwards, but that won't work with PNG or
GIF. Any ideas?

Thanks,
  - QS Computing.



Relevant Pages

  • Re: Get size of an image
    ... > dimensions of an image in JPG, PNG or GIF format in Delphi 7 Personal. ... the file format, load the first sixteen bytes or so, and get the ones ...
    (comp.lang.pascal.delphi.misc)
  • Re: PNG files in a website
    ... looks a better than before but still fuzzy. ... try to keep your conversions/changes to a minimum...work in a non-lossy format until you're happy with the image, then the last thing you do is optimize and save it as a jpg ... |> | When, however, she saves to PNG it looks great. ...
    (microsoft.public.frontpage.programming)
  • Re: PNG? [was Re: ANNC: PortaCello3]
    ... >>the GIF is controversial for the compression algorithm. ... I had never heard of PNG, just assumed it was some FSF alternative to ... difference various qualities made and always thought JPG compression was ...
    (comp.lang.lisp)
  • Re: Beleuchtungsfrage
    ... Lesbarkeit des Dateiformats mit dann aktueller Software ... Also JPG oder PNG, TIFF wird schon nix mehr weil zum Teil patentiert oder nichtöffentlich. ... digitalen Art aufgenommen wurde, und jetzt auf einem Projektor oder Fernseher ...
    (de.rec.fotografie)
  • =?ISO-8859-1?Q?Re=3A_Lebenslauf-Anlagen_Papierscan=2C_pdf/?= =?ISO-8859-1?Q?jpg/
    ... Für Screenshots nehme ich gern .png, die werden oft kleiner als .jpg. ... Dieser kann Scans direkt per Email versenden und hat zur Auswahl die ... PDF, JPG, TIFF mit 200,300,600 dpi. ...
    (de.comp.text.tex)