Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder
    Join Date
    Aug 2006
    Posts
    133
    Thanks
    0
    Thanked 0 Times in 0 Posts

    display .psd files using php

    hi,


    can anybody tell me please how i can display the .psd file using php.i know that we canot use <img src=''>.for that one we need a separate class for handling the .psd files

    thanks
    mrjameer.

  • #2
    Senior Coder Nightfire's Avatar
    Join Date
    Jun 2002
    Posts
    4,265
    Thanks
    6
    Thanked 48 Times in 48 Posts
    I don't think you can do it. If you could do it, I think you may need a photoshop module installing

  • #3
    Super Moderator Inigoesdr's Avatar
    Join Date
    Mar 2007
    Location
    Florida, USA
    Posts
    3,647
    Thanks
    2
    Thanked 406 Times in 398 Posts
    You can't.

  • #4
    Super Moderator
    Join Date
    May 2002
    Location
    Perth Australia
    Posts
    4,075
    Thanks
    11
    Thanked 98 Times in 96 Posts
    if you have imagemagick installed ...
    PHP Code:
    <?php
    exec
    ('/path/to/convert /path/to/blah.psd /path/to/blah.jpg');
    ?>
    if your psd has several layers then you will end up with several images, there is a way to force just 1 image I think, check the imagemagick docs for more info.
    resistance is...

    MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)


  •  

    Posting Permissions

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