Re: can webcat determine an image's pixel dimensions?

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 26817
interpreted = N
texte = > Nicolas I have no idea how you were attempting it, but perhaps a solution > still lurks...? > Have you thought of somehow using [UnURL] to get around the issue?If you edit the source of a gif picture, you will see that the width and height is coded in there (in hexa, of course).All you need is to translate these hexadecimal values into their decimal values (with a database, this should be easy). Characters under H20 (decimal 32) will not be shown, therefore you need to translate them into their %xx value with [url]. Sounds great, because H01 is translate into %01, H02 into %02 etc... Up to H20 translated into %20.Problem is: H00 is translated into %20 ...I did not investigate for the jpg format, but I bet I could have done it too, without this bugging weird behaviour of the [url] context.There is a universal package for manipulating pictures, its name is Magick. It is open source and cross-platform. Comes with any distribution of Linux, now (at least it was in my RH 6.1).It should do the job. Also, maybe SM will program this feature, that you can find in ASP, for instance. ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Associated Messages, from the most recent to the oldest:

    
  1. Re: can webcat determine an image's pixel dimensions? (WebDNA Support 2000)
  2. Re: can webcat determine an image's pixel dimensions? (Nicolas Verhaeghe 2000)
  3. Re: can webcat determine an image's pixel dimensions? (Miguel Castaneda 2000)
  4. Re: can webcat determine an image's pixel dimensions? (Aaron Lynch 2000)
  5. Re: can webcat determine an image's pixel dimensions? (Charlie Romero 2000)
  6. OT pipe - was can webcat determine an image's pixel dimensions? (John Butler 2000)
  7. Re: can webcat determine an image's pixel dimensions? (John Butler 2000)
  8. Re: can webcat determine an image's pixel dimensions? (Nicolas Verhaeghe 2000)
  9. Re: can webcat determine an image's pixel dimensions? (Jesse Williams Proudman 2000)
  10. Re: can webcat determine an image's pixel dimensions? (John Butler 2000)
  11. Re: can webcat determine an image's pixel dimensions? (Aaron Lynch 2000)
  12. Re: can webcat determine an image's pixel dimensions? (Nicolas Verhaeghe 2000)
  13. can webcat determine an image's pixel dimensions? (John Butler 2000)
> Nicolas I have no idea how you were attempting it, but perhaps a solution > still lurks...? > Have you thought of somehow using [unurl] to get around the issue?If you edit the source of a gif picture, you will see that the width and height is coded in there (in hexa, of course).All you need is to translate these hexadecimal values into their decimal values (with a database, this should be easy). Characters under H20 (decimal 32) will not be shown, therefore you need to translate them into their %xx value with [url]. Sounds great, because H01 is translate into %01, H02 into %02 etc... Up to H20 translated into %20.Problem is: H00 is translated into %20 ...I did not investigate for the jpg format, but I bet I could have done it too, without this bugging weird behaviour of the [url] context.There is a universal package for manipulating pictures, its name is Magick. It is open source and cross-platform. Comes with any distribution of Linux, now (at least it was in my RH 6.1).It should do the job. Also, maybe SM will program this feature, that you can find in ASP, for instance. ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Nicolas Verhaeghe

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

popups, netscape vs explorer (1997) emailer on Windows Beta 18 (1997) Targeted Redirect (1999) PCS Customer submissions ? (1997) RE: Problems with shopping cart (1997) WebDNA 4.5.1 Now Available (2003) WebCat2b12 - New features for 1.6 users ... (1997) Web DNA... (2007) [shell] (2005) Sorting error (1997) PIXO (1997) Delete context run amok (2005) F3 crashing server (1997) Protect vs Authenicate (1997) Blowback and budgets. (2000) listfiles to aliased path OSX.2 (2002) Searching for all records (1998) Hard Questions ? (1997) Header info in content (1998) WC 2.0 frames feature (1997)