Results 1 to 18 of 18

Thread: dynamic image creation with original ASP

  1. #1

    Thread Starter
    Addicted Member Guru's Avatar
    Join Date
    May 2000
    Location
    sulking in the cupboard under the stairs
    Posts
    237

    dynamic image creation with original ASP

    One of our systems creates an image with an ID on it.
    It creates an xbm image.

    This works fine except the c***s at Micro$soft have decided not to suport xbm in IE on XP SP2

    Therefore, I need to create a gif or jpeg

    I don't want to use extra DLLs if possible and ASP .NET is not an option.

    I know there is a registry fix which will allow the browser to display xbm files but that is not an option either.


    Any suggestions?


    Thanks
    Another light-hearted post from Guru

  2. #2
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343
    Um, dunno if there's code out there for this (not looked into it) but can you not just add the other dll (the one you don't want to) onto the server so it converts the xbm image into a gif/jpeg... Would be easier to implement?


    Vince

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

  3. #3

    Thread Starter
    Addicted Member Guru's Avatar
    Join Date
    May 2000
    Location
    sulking in the cupboard under the stairs
    Posts
    237
    In a word.. NO!
    Another light-hearted post from Guru

  4. #4
    Frenzied Member vbNeo's Avatar
    Join Date
    May 2002
    Location
    Jutland, Denmark
    Posts
    1,994
    WEll then, write a converter yourself, there really is no other option the way I see it...
    "Lies, sanctions, and cruise missiles have never created a free and just society. Only everyday people can do that."
    - Zack de la Rocha


    Hear me roar.

  5. #5

    Thread Starter
    Addicted Member Guru's Avatar
    Join Date
    May 2000
    Location
    sulking in the cupboard under the stairs
    Posts
    237
    Which part off "no additional DLLs" doesn't anyone understand?
    Another light-hearted post from Guru

  6. #6
    Fanatic Member davebat's Avatar
    Join Date
    Dec 2002
    Posts
    727
    Dont ask for help and say that the only way its possible is out of the question.
    Last edited by Wokawidget; Oct 27th, 2004 at 04:37 AM.

  7. #7

    Thread Starter
    Addicted Member Guru's Avatar
    Join Date
    May 2000
    Location
    sulking in the cupboard under the stairs
    Posts
    237

    Editted by Wokawidget
    Last edited by Wokawidget; Oct 27th, 2004 at 04:22 AM.
    Another light-hearted post from Guru

  8. #8
    Frenzied Member vbNeo's Avatar
    Join Date
    May 2002
    Location
    Jutland, Denmark
    Posts
    1,994
    Okay then smartass, don't post on this forum, non of us is obviously able to help you - I, however, am surprised that his excellency was not capable of figuring this out himself.

    *cough* ***** *cough*

    Whoops, made the small text big and the big text small, how clumsy of me
    "Lies, sanctions, and cruise missiles have never created a free and just society. Only everyday people can do that."
    - Zack de la Rocha


    Hear me roar.

  9. #9

    Thread Starter
    Addicted Member Guru's Avatar
    Join Date
    May 2000
    Location
    sulking in the cupboard under the stairs
    Posts
    237
    I've got it 75% sussed now.

    I can now store a gif as a hex string and write it out from within an asp page - without any additional DLLs.

    I just need to suss out how to write uncompressed gifs
    Another light-hearted post from Guru

  10. #10
    Fanatic Member davebat's Avatar
    Join Date
    Dec 2002
    Posts
    727
    The best way would be to use a DLL to do this

  11. #11

    Thread Starter
    Addicted Member Guru's Avatar
    Join Date
    May 2000
    Location
    sulking in the cupboard under the stairs
    Posts
    237
    The best way isn't always possible in the real world
    Another light-hearted post from Guru

  12. #12
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,632
    Guru, you are not going about this the right way.
    It's clear that the answer to your solution is what people have been suggesting.
    I'd advice you not to get so irate when people are only trying to help.

    People here have given up their own time to try and help you, and then you flame them...Hmmmm...will they help you in the future....I think not.

    Woka

  13. #13
    Fanatic Member davebat's Avatar
    Join Date
    Dec 2002
    Posts
    727
    Originally posted by Guru
    The best way isn't always possible in the real world
    Why are you unable to use a DLL, for curiositys sake?

  14. #14

  15. #15

    Thread Starter
    Addicted Member Guru's Avatar
    Join Date
    May 2000
    Location
    sulking in the cupboard under the stairs
    Posts
    237
    Originally posted by davebat
    Why are you unable to use a DLL, for curiositys sake?
    Politics.

    Deploying DLLs on a customer's server is more trouble than it's worth. There would also be licencing implications for third-party components
    Another light-hearted post from Guru

  16. #16

    Thread Starter
    Addicted Member Guru's Avatar
    Join Date
    May 2000
    Location
    sulking in the cupboard under the stairs
    Posts
    237
    Originally posted by Wokawidget
    Is that an easy thing to do?

    Woka
    I believe it is possible - originally devised to get round paying Unysis royalties for use of the LZW (?) compression algorythem.
    Last edited by Guru; Oct 27th, 2004 at 05:06 PM.
    Another light-hearted post from Guru

  17. #17
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343
    Not sure if any of these will give you a hand (you've probably been there already)

    http://www.wotsit.org/search.asp
    http://tronche.com/computer-graphics/gif/


    Vince

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

  18. #18

    Thread Starter
    Addicted Member Guru's Avatar
    Join Date
    May 2000
    Location
    sulking in the cupboard under the stairs
    Posts
    237
    Thanks Ecniv

    I will check it out a bit later when I've got some time to spare.

    I found a perl script last night which appears to do what I want; I just need to convert it to vbscript or javascript.
    Another light-hearted post from Guru

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width