Multiple Upload Image Problem - Resize GIF files

The Multiple Image Upload script seems to handle .jpg images without problems.
However, .gif files return the error:
"Error converting image (image resize). Image processing library not available or does not support operation. (imagemagick library is not working or not found)."
The problem is caused by the fact that script that I'm using tries to pass a parameter that is not valid for gif processing:
myimage.gif' '-quality' '80'
The "quality" parameter works only for jpeg and .png files as described here:
http://www.imagemagick.org/script/command-line-options.php#quality
Please ensure that the script makes difference between .gif and .jpeg files and use the correct parameters so we can resize the images properly.
Thanks in advance,
Márcio

Hi Marcio,
>>
Can you tell me the inconveniance of using GD instead of Imagemagick, or its, shortly similar?
>>
sorry, but never worked with ImageMagick so far, so I can´t compare
>>
The "quality" parameter works only for jpeg and .png files as described here
>>
yeah, it seems that this is a small bug in ADDT´s "includes/common/lib/image/KT_Image.class.php" file. Was just checking the code in there, and indeed it adds this extra parameter regardless the image type -- but I do have an idea how this file can be modified to not use this parameter if the file in question has the suffix ".gif".
If you feel a little adventurous, I´ll happily invite you to modify some code in this file -- please let me know if you´re ready for some instructions. However, if so, please make a backup of this file first...
Günter Schenk
Adobe Community Expert, Dreamweaver

Similar Messages

  • Resizing GIF files

    Hello,
    I am programming a batch application, that resize images, e.g. jpg, png and gif format.
    On internet there are bunch of "working" examples for jpg and png.
    I have modified them so I can use it for my intention.
    Unfortunately I could not find any java snippet for resizing GIF files.
    Can somebody give me a hint, code snippet, link, ...
    (I would like to store the resized file, i.e. not for viewing.)
    Thank you in advanced,
    Aykut

    aykut_arslan wrote:
    Hi Navy_Coder,
    I mean with resizing :
    for example the original file has the properties width = 1200, height = 800
    the application get the parameter target_width = 600
    it will calculate automatically the height, so target_height = 400
    that means the application creates a new file with the size 600x400
    I mean with batch :
    The application gets a source directory and target directory as parameters.
    That means: read all gif files from "source directory" [resize them] + [ *write all* ] in "target directory".
    thanks
    AykutGotcha.
    Here you go:
    http://www.gif4j.com/java-gif4j-pro-gif-image-transform.htm

  • Problems uploading images with uppercase (.JPG) file extension.

    I am using coldfusion 8 and have no problems uploading an image using CFFile when the image has a lowercase file extensions such as .jpg however if the same file has a Uppercase file extension .JPG coldfusion hangs and then just times out. The files are exactly the same just different cases in the extensions.
    Any idea?
    My cffile is set as such   <cffile accept="image/*" action="upload" destination="#uploadfolder2#" filefield="profilePictureFileBrowser" nameconflict="makeunique" >
    I tried changing the accept property to image/*, image/jpg, image/JPG but that did not fix the problem either

    Thanks for the quick reply. So I removed the tag and even though I get an error after submitting the form it appears to not hang anyways. Any idea how to fix this?
    I am on a windows 2003 server so cases sensitifity should not be a problem. I am perplexed as to why this would work with lowercase extensions an not upper?

  • Problem saving gif file over the net

    I am using a simple loop to save files using a URL Connection. It grabs html files fine and they look right but when I used to to download an animated gif it had an error. It saved the file but when I tried to open the image I got a "drawing failed" message.
    I compared it to the working image and the sizes were identical. I also compared the characters in notepad and the beginning and end characters were identical. I looked at the preview in "My Computer" when you select it and it drew only the first line or so. This makes me believe it is a problem with how it switches lines when saving. I checked the ends of the lines though and they also seem identicall. Any ideas? Here is the code. Thankyou.
    FileWriter fileName = new FileWriter(saveFileName);
    BufferedReader in = new BufferedReader(
    new InputStreamReader(
    newConnection.getInputStream()
    BufferedWriter out = new BufferedWriter(fileName);
    for (;;) {
    int data = in.read();
    // Check for EOF
    if (data == -1) break;
    else {
    System.out.print ( (char) data);
    out.write(data);
    }

    GIF files are binary files and can be corrupted if you use the Reader and Writer classes. Use the *Stream classes, like FileInputStream and FileOutputStream.                                                                                                                                                                                                                                                                                                                               

  • How can I save a Image to a GIF file??

    Class Image ---------> GIF file
    How can I do it??

    Who can help me??
    Image my_image=Tookit.getDefaultToolkit.getImage("cc.gif");
    Now,I want to save my_image to a .GIF or .JPG file.
    Who can tell me what I am able to do next or what class I need.

  • Problem saving .gif files

    I've been making gifs forever and until now everything stopped working. I reset my Photoshop settings with Ctrl+Alt+Shift but that didn't help. I also updated too. Then I uninstalled the entire program and reinstalled and still the same problem. What the problem is, is that when I go to 'Save for Web' I have all my correct settings imputed, then it gives me this like nothing is found. I don't quite understand what's going on. This never happened to me ever! If anyone knows or can suggest something please!Thank you!
    Btw after I try to save it a second time my Photoshop just freezes and I have to manually close it
    Please click the link for the image to show you
    http://www.imagebam.com/image/1f15b9318649734][IMG]http://thumbnails112.imagebam.com/31865 /1f15b9318649734.jpg[/IMG][/URL]

    OK, the problem shown in the image is the display of the folders and files in the save as dialog box.
    Does this happen when you use the normal save as dialog box? Are you able to save psd, jpg, and tiff's?
    At the moment it is looking like an OS issue. Run virus program and a disk check. Don't let the disk check fix any issues unless you are absolutely sure you backuped your drive first. I have had the disk check distroy my directory tree to a point I needed to reformat. They claim it is safe, I can assure you it can be a nightmare if you don't backup first.

  • Problem with Gif Files

    Hi
    Is there away I can preview my animated gifs in Adobe Bridge CS3? This worked in CS2 but doesn't now I have upgraded.
    All my animated gifs show as gif image... is this correct?
    Bridge will preview other media files but not the gifs I would like it too.
    Any help or advice will be gratefully received.

    And I sincerely hope you're not talking about documents across a network. :(
    This is the boilerplate text I use in connection to saving to a network (please NOTE the part where it explains that normally, it does work, but that it is impossible to troubleshoot someone else's network remotely, and that's why it's not supported by Adobe):
    If you are opening files over a network or saving them to a network server, please
    cease and desist immediately
    in the event you are currently experiencing problems with one or more files.
    Working across a network is not supported.
    See:
    http://www.adobe.com/support/techdocs/322391.html
    Copy the
    CLOSED file from your server to your local hard disk, work on it, save it again to your local hard disk, close it, and copy the closed file back to the server.
    Of course, the fact that Adobe does not support working across a network does not necessarily mean it won't work. It should.
    Adobe's position is that there are too many variables in a network environment for them to guarantee that everything will work correctly in every network, especially given the fact that if something does
    not work properly, it's probably the network's fault, and Adobe has no way of troubleshooting your network.
    If you can't work locally, you are on your own, and if something happens, you're on your own. If you must work from a server, make sure your network administrator is a competent professional.
    When problems arise, a lot of valuable work can be lost.

  • Upload Image Problem

    Hello,
    We want to print an image on a SAP script, this SAPscript is a bespoke (Z) script
    We are trying to upload an image dynamically (is image of a product, so differs on each call).  We have successfully achieved this using PERFORM import_bitmap_bds IN PROGRAM saplstxbitmaps.
    The problem now is that our Z program is called from a standard SAP program via a call to a function 'in update task'.
    The function used in import_bitmap_bds (GUI_UPLOAD) cannot be used in background.
    Is there an alternative to this, only suggestions I can find relate to using 'OPEN DATASET', but this seems to be only for text or excel.
    All suggestions welcome,
    Conor.

    Hi Thiru,
    I've been around the block with this one and I dont think it can be done - not upto speed on ABAP objects, so can not say if it can be done via ABAP objects.
    PERFORM import_bitmap_bds IN PROGRAM saplstxbitmaps uses GUI_UPLOAD but I wont work in background because the presentation server is not visiable so I tried using C13Z_FILE_UPLOAD_BINARY to transfer the file to the app server from Presentation server before I called PERFORM import_bitmap_bds IN PROGRAM saplstxbitmaps and still wont work in background - if you make a breakthrough please let me know.
    Regards,
    Conor.

  • Itunes connect upload image problem

    i'm trying to fill out the metadata for my app in itunes connect. i understand that at this point, we can't actually upload the app, but i want to get everything else ready.
    when i try to upload the large icon or the screenshot, i get sent back to the beginning with a generic error message.
    has anyone else had any luck using itunes connect to setup application metadata?

    Yes, no problem encountered here, with images, anyway. I am a little peeved, however, that I spent quite a while futzing with Application Loader, which doesn't work (yet), only to a day or so later get an email back from devsupp saying don't bother, apps can't be uploaded yet.
    Perhaps I should have figured that out, after all, the SDK is still Beta. I wonder if we have to wait until it isn't beta any more before apps can really be "final" and ready to upload.

  • Aperture keeps multiple duplicate images in the library file which do not show up in the app

    So, I recently had to merge two libraries which have some common images.  Although upon import Aperture asked me if I wanted to "Add or Merge" the libraries (I selected "merge", which wouldn't import duplicates), I wanted to confirm there were no duplicates in fact brought in.  I ran Duplicate Annihilator, which made a strange claim (about most photos, in fact): it showed a file as a duplicate which had no copies that I could find - searching for it by name revealed exactly one image.
    Curious, I searched inside the actual photo library.  Imagine my surprise when I found the following files
    ...Library/Masters/2007/Aug 10, 2007/IMG_0002/IMG_0002.JPG
    ...Library/Masters/2007/Aug 10, 2007/IMG_0002 (1)/IMG_0002.JPG
    ...Library/Masters/2007/Aug 10, 2007/IMG_0002/IMG_0002.JPG
    which are in fact *exactly* the same image.  Meanwhile, to reiterate, Aperture shows only ONE photo:
    IMG_0002.JPG
    Shocked, I investigated further.  In fact almost every single file which was in common between both libraries was "imported but not displayed", which explains why my two libraries of sizes 50GB + 50GB after merger = 100GB when, the two libraries in terms of images had 10k + 12k after merger = 14k images.
    Aperture imported all the photos into the new library.  But it just opted not to use half of them.
    So, now I have a bloated-by-2x library, and of course the frustration with Aperture having made such an insane, bone-headed move.  Those files are essentially dead weight which will follow the library around for all eternity.
    1) Why?
    2) How to fix?
    thanks!

    I would take  a step back here before going further.  William's suggestion might very well clean up the library but something obviously did not go right and to start mucking about in the library might make things worst.
    For starters I'm surprised to see the folder structure you showed in your first post. Aperture stores managed masters (originals) by import date and time. The structure (in all libraries I've ever seen) looks like:
    So something seems wrong with your master folder.
    Also the three folders you showed the first and third are identical ( the middle one has the (1) added to which is how the OS handles duplicates in a folder) so this shouldn't even be possible, those folders should not be there.
    I'm wondering if this is something left over from your using Duplicate Annihlator. Do you have a copy of the library before you ran the merge and used DA on it? Would be interested to see what the master folder looks like.
    Finally when you ran the merge which library did you tell Aperture to use as the master, the one that was used to resolve conflicts?
    Again William's suggestion might be all you need to do but it would be good to figure out want went wrong before proceeding.
    regards
    Message was edited by: Frank Caggiano - A better first step might be to run the Aperture first aid tools, repairing and possibly rebuilding the library.

  • Ipod Multiple album Image Problems

    Hello,
    I have an 80GB Ipod and when I select certain artists on it it'll show multiple album covers of the same album with only a few songs listed under each album cover. But when I click on any of the album covers I see, the songs are all there. Any and all help is appricated.
    -Thank You

    *HowTo: Grouping Tracks Into Albums*
    Excuse the long post, but hopefully covering all the bases (that I can think of) will help you fix the other issues you are likely to run into as you try to organise your iTunes library.
    *Use an album friendly view*
    iTunes will let you sort music on many columns, some of which are unlikely to group albums together or put the tracks in their normal order. The most useful order for editing the library is probably *Album by Artist*. If you're not already there, select the list view and click on the column heading for Artist until it reads Album by Artist.
    *One cover, too many tracks*
    The iPod (and iTunes to a lesser extent) conflates two or more albums with the same title, most obviously with *Greatest Hits*. On the iPod this can result in one album acting as a combination of two or more. Selecting any cover gives all the tracks of all albums with the same title. The workaround for this "Greatest Hits" bug is to give each album a unique title - I tend to go for *Album - Album Artist* as this reads clearly in the iTunes browser. Alternatively you could use the wording as it appears on the cover or append different numbers of spaces for each different album. Somewhat oddly, setting different values for Sort Album doesn't work.
    *Album not with others by same artist*
    iTunes relies on the Gracenote CDDB database when identifying CD's. This often marks collections or anthologies of an artist's work as a compilation. In iTunes, however, the compilation flag has the logical function of grouping together tracks with the same album name, but different artists on each track, e.g. "Now That's What I Call Metal 666!". These compilations are then all grouped together at the end of cover flow. Most of us however, would expect "Greatest Hits" albums to be listed with the other albums by the same album artist. For albums which are essentially by a single album artist or group it is best to set the appropriate value for the album artist and clear the compilation flag.
    *One album, too many covers*
    Sadly the iPod ignores the Album Artist field when grouping albums which causes problems when some tracks list guest artists. You can simply mark the entire album as a compilation which seems to be the way iTMS handles it, however that's not an ideal fix. Short of waiting for Apple to address this issue (and as far as I can tell it goes back to the 1st gen. of iPods) we need a workaround. What I do is to put any additional artist info. in square brackets after the song name. E.g. *Track \[Feat. Guest\]* and then set *Artist=Album Artist* for each track. For anthologies where the Album Artist is credited as part of another group, e.g. for Cream tracks on an Eric Clapton anthology, I use *Track \[As Group\]*. For a track where the main Album Artist doesn't receive a credit, e.g. the first track of the Slim Shady LP credited to Jeff Bass, I just set the track name to *Track \[Guest\]* while still setting the artist to the album artist. N.b. I use square brackets to indicate this is not part of the actual song title and also use this style for Mix/Live/Bonus info.
    *One album, still too many covers*
    iTunes may split albums into two or more sections if some tracks from the album have different values for Artist, Album Artist, Album, No. of Discs or Part of a Compilation. Tiny differences such as trailing spaces, accented characters or variants of symbols can sometimes be quite hard to spot. The iPod is also more sensitive to case variations and may split or reorder an album that looks okay in iTunes. Normally overtyping the desired value for each shared field will complete the grouping of the album into one entity. Occasionally, however, this method seems to fail. When this happens I've found that you can force every field to update properly by adding some extra text - e.g. a trailing X, which once applied seems to complete the joining of the tracks into one album. Once this has happened the extra data can be removed and the album should remain properly grouped.
    *Tried that, there are STILL too many covers!*
    The Sort Artist, Sort Album & Sort Album Artist fields can be used to override the normal sort order. For example iTunes automatically drops leading articles (a/an/the) so "The Beatles" are arranged under "B" instead of "T". Occasionally different tracks from the same album can have different values in these sort fields which can also break up the grouping. Making the sort columns visible in iTunes can help with spotting & correcting such problems.
    *One cover for multi-disc album*
    Multi-disc albums are often listed as *Album (CD1)* for CD 1, *Album (CD2)* for CD 2 etc. To display these properly using just one cover, each disc should have the correct *Disc X of Y* values set, and then the entire album should be given the single title Album. Being somewhat obsessive I also renumber the tracks sequentially, working backwards from the last track (so that no two tracks ever have the same number) until I reach disc 1. BTW You can still give the individual discs different artwork should it be relevant so that the correct artwork will be displayed as the album progresses.
    *One artist, many names*
    With some artists, particularly classical composers, you should be aware of alternative representations of their names. E.g. 2Pac vs. Tupac. The menus will work best if for each artist you standardise on just one form of their name. E.g. make a choice between Mozart, W.A. Mozart or Wolfgang Amadeus Mozart, and then apply it consistently. For classical music I tend also to use the Composer as the Artist & Album Artist and either discard the performer details or place these into the Comments field.
    tt2

  • Multiple Customers having Problems with .pem files -chain certificate

    I have 2 different customers who recently started using weblogic. My Applications are ASP hosted web services and require digital certificates. For added security, our CSO uses a <b>chain certificate</b>. The private cert is signed by an intermediary verisign cert which is signed by the Root CA. <p><p>
    Embaressingly, I just found out one Customer completed <b>side-stepped the BEA implementation for .pem files and implemented a non BEA class to work around</b> based on difficulty they had trying to get the .pem file for the intermediary verisign cert to work. I am stuck in that I don't want to advise the second client to do the same thing, but I can't find great support on what to do and some of the BLOGS are conflicting. From what I understand, this first client struggled on this for <b>2 weeks and gave up.</b> <p><p>What I am trying to ascertain is whether the <b>private</b> .pem file is suppossed to have <b>both the RSA PRIVATE KEY as well as the CERTIFICATE of the intermediate cert inside that one .pem file or not</b>. I can see their needs to be a .pem for the intermediary and a .pem for the private but not sure if any of the data should repeat.
    <p><p>
    Also, good samples of how these should look would help. The .pem files my client showed me looked incorrect.
    <p><p>
    Please note both these clients are top Investment Banks and I think it's in both Bea's interest and my interest to see this work on Weblogic without coding around the default Weblogic security implementation.

    Hi Patrick,
    If you fixed the issue changing your PowerShell code, would you mind posting the working code here for reference for other people that might experience this problem?
    Thanks in advance.
    Nico Martens - MCTS, MCITP
    SharePoint Infrastructure Consultant / Trainer

  • Different between upload an image and a XML file??

    To uploading an image file then to database, i use the following function:
    " .getLoader().setOrdHttpUploadFile "
    but if I want to upload an XML file, is it work?? If not, how can I do??

    Hi,
    You mention the getLoader() method: are you using BC4J? If so, then you have to write the code yourself. BC4J is integrated with the interMedia database object types, and knows how to handle upload requests to these types. If you want to write a simple BLOB or CLOB column, then you can do so, but you have to write the code. See my reply to your other post below.
    Simon
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>
    Hi,
    When you say: 'i find the class of "intermedia" that it is just use to
    upload image, audio, or video file.', are you referring to interMedia
    Java Classes for Servlets and JSP? If so, you can use these classes to
    upload any document to a BLOB column. Simply select the column from
    the database (using FOR UPDATE), call the OrdHttpUploadFile.loadLob(
    BLOB blob ) method to write the data to the BLOB, then update the BLOB
    column in the database. To write an uploaded document to any other
    data type, such as a CLOB, you would need to read the data from the
    InputStream returned by the OrdHttpUploadFile.getInputStream() method,
    then write it to the data type using whatever mechanism is
    appropriate, taking in to account such things as character set
    conversion.
    Hope that helps,
    Simon
    <HR></BLOCKQUOTE>
    null

  • Importing gif file to ImageIcon

    Hi,
    I am trying to use a gif file that I have included in my project (using Windows XP). I am trying to stick the image from the gif file into a ImageIcon variable, and sticking the variable into a label. Here is the code that I am using to have the program access the gif file:
    private ImageIcon redX = new ImageIcon( " \\JAVA programs\\Week 8\\lab8_1a\\redshd.gif " );
    I have a classPath setup in my environment variables/system variables as follows:
    .;C:\Documents and Settings\Jim Roth\My Documents\Visual Studio Projects\Programs
    and the path to the gif file is as follows:
    C:\Documents and Settings\Jim Roth\My Documents\Visual Studio Projects\Programs\JAVA programs\Week 8\Lab8_1A\redshd.gif
    When I run the program, the screen comes up empty. I am using a basic frame, with a GridLayout. When I change the input into the label to a string, it shows up on the label when the program runs.
    In debug mode, I am not quite sure of what the values apply to, but oneonf them shows up as 'null'.
    I think my problem lies with the program just not finding the gif.file. Any suggestions?
    Thanks a lot!
    Jimbo

    OK, here is the program.....it is my very first stab at anything gui. We are supposed to display a tic tac toe grid, and have it randomly put x's and o's (or something simiilar) in a3x3 grid in a random fashion. Here it is:
    import javax.swing.*;
    import java.awt.*;
    import java.util.*;
    public class TicTacToe extends JFrame
    private ImageIcon redX = new ImageIcon("\\JAVA programs\\Week 8\\lab8_1a\\redshd.gif");
    private ImageIcon blueCirc = new ImageIcon("\\JAVA programs\\Week 8\\lab8_1a\\qmark.gif");
    /** Default constructor for TicTacToe */
    public TicTacToe()
    setLayout(new GridLayout(3,3,2,2));//sets grid layout for a 3x3 grid with 2 pixel spacing
    //add 9 JLabels to hold image icons
    for(int i =0; i < 10; ++i)
    add(this.generateJLabel());
    public static void main(String[] args)
    TicTacToe game = new TicTacToe();
    game.setTitle("Tic Tac Toe");
    game.setLocationRelativeTo(null);
    game.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    game.setSize(250, 250);
    game.setVisible(true);
    protected JLabel generateJLabel()
    Random rand = new Random();//instantiate random object to generate ints
    int randNum = rand.nextInt(4);//generate ints between 0 and 4 (exclusive)
    /*The following switch statement looks at random number generated by the Random
    object and assigns an image to a JLabel according to the int returned./
    switch (randNum)
    case 1:
    JLabel temp = new JLabel(this.redX);
    return temp;
    case 2:
    JLabel temp1 = new JLabel(this.blueCirc);
    return temp1;
    default:
    JLabel temp2 = new JLabel();
    return temp2;
    }

  • Image Manager doesn't upload images (anymore)

    Hi All,
    We have recently upgraded our VC install from SP16 to SP17. Prior to this, the image manager uploaded images fine - small gifs for use in traffic lights. Following the upgrade to SP17, the upload button on the image manager appears to do nothing. I get no error, no warning and no entry in the image manager list.
    Note This did work in the past. I can still see ones I've done about a month ago.
    Any ideas?
    Cheers
    Richard

    Hi
    Have you tried with any other format like, 'jpg or jepg'? or its not working for any format?
    Regards
    Sandeep

Maybe you are looking for

  • I have a 3rd Generation iPod that will not connect to Home Wi-Fi- keeps dismissing- saying unable to connect.

    I have a 3rd Generation iPod that will NOT connect to our internet connection at home. Message on screen keeps saying it is 'unable' to connect. Yes I have already reset to default factory settings, No we do not have our service encrypted or password

  • Read content of email type MHT

    Hello all, I have a small problem to read content of incoming emails in SO , where OBJ_TYPE = 'MHT'. Using FM SO_DOCUMENT_READ_API1 I get content of email in table  OBJECT_CONTENT, and after conversion I have text like this: "Content-Type: multipart/

  • Report showing the salary at the time of joining .

    Hi, I am asked to prepare a report which shows the employees hired between 1.4.2007 to 31.3.2008 and their salary at the time of joining. I am doing it through Adhoc Query. But the report is showing the current annual salary of the employees. Please

  • Adobe Acrobat installation from cs2

    After multiple install/uninstalls, I am unable to install Acrobat 7.0.  I have cs2 and windows xp. The other programs (GoLive, Illustrator, etc) appear as install options but the Acrobat 7.0 does not. (It is greyed out). Can anyone assist me on this?

  • Document upload functionality

    Hi, I want to know that whether the document upload functionality comes in standard SAP package OR this is a separate module which has to be purchased separately from SAP. Please also let me know the Tcodes used for uploading an accounting document f