Using cfimage to reduce file size

I want my site's users to upload their photos. If the user
tries to upload a file over 100kb, I want to use the Quality
attribute of cfimage to reduce the size to 100kb. To do this, do I
first have to upload the file with <cfimage action="write"
destination=[myserver]>, and then use <cfimage quality=[x]"
to overwrite this file? Or can I resize the temp file BEFORE
uploading it to my server?
Thanks.

If you think it through it is obvious that this is not
possible with ColdFusion. It is a server-side technology so cannot
do anything to it before it gets to your server, in fact when using
<cffile action="upload"....../> the web server actually
handles the upload and cf just takes over when the temporary file
is created.
To do what you wanted would have to be done with some sort of
applet embedded in the web page.

Similar Messages

  • In Acrobat 6 and 7 Professional, what compression methodology is used with the "Reduce File Size"?

    For example, bicubic downsampling to 72 pixels/in.?, to 150 pixels/in.?, to 300 pixels/in.?,
    Are all embedded thumbnails also removed?
    Are all layers also flattened?

    My work around for now is "Make Compatible with…’ from Acrobat 4.0 " which does not support JPEG2000 compression.
    http://forums.adobe.com/message/3847176#3847176

  • Issues in Reducing file size on Acrobat 9.3.1

    The text has been merged or split on Acrobat 9.3.1 Pro by using the option "Reduce File Size" or "PDF Optimizer". There is no issue in the earlier version of Acrobat (7.0 & 8.0). We are using the Mac OS between 10.4.11 to 10.6.2. I have attached screenshots for your reference; please look at the Word "Issues" has been split after reducing file size on Acrobat 9.3.1. Is there any other way to do Hi-Res PDF to Low-Res PDF without any issue? Kindly help me out to sustain the best process in future.

    I found a similar problem with text styled for small caps. It was fine in the original PDF, but became lowercase in the reduced file. The reduction process probably throws away characters from fonts that Acrobat decides are unnecessary.
    I was able to partially solve the problem by combining multiple PDFs (book chapters) and selecting the smallest file size icon at the bottom of the page. Alternately, I chose a web-quality preset, which also worked. The file size might not be quite as small, but the files were good.

  • "Reduce File Size" Spaces/Spreads out text...

    I have a 12-page newsletter created in InDesign CS4. I run it through our ApogeeX workflow for production PDF output. I need to take that PDF and reduce the file size down so as to email a copy to the client for proofing purposes only.
    Using the "Reduce File Size" in Adobe Acrobat 9 Pro splits up lines of text, letters within words, etc. Anyone else experience this and have a solution/suggestion?
    "downturn, working with the national media to combat" becomes
    "downturn, w orking w ith t he n ational m edia t o c ombat"
    "The decline on the national level may be due to a" becomes
    "The de cline on t he na tional l evel ma y b e due t o a". etc.
    This has just been happening since we upgraded from CS2 to CS4 this past week. Thoughts?

    I have this same font issue when I use AA9 to Reduce file size or Optimize. If optimize is doing it also, what option in the optimize menus can I shut off to avoid this. Currently I have had to use AA8 to get around this.
    Tips appreciated!
    Cassie

  • Reducing File Size in Pages

    I have a book I have written in Pages. It has lots of photos. When I make a pdf, it's about 380 Megs and is larger still in the pages format--nearly 500 megs.
    The publishing company online has a maximum size limit of 400 megs for the pdf file. The book is in Spanish, but I'm making a bilingual version which will double the size. Obviously that will be too big in the end.
    I've used the Pages reduce file size feature but while it reduces it WAY down, the photos inside are kind of blurry.
    Is there a way to reduce LESS? It's all for nothing and your pages file goes from 500 or so to 11 or so megs.
    Can I reduce the file's size but not so much?
    Thanks,
    Tom in Arizona

    1. Make a schedule of the image sizes from the Graphic inspector. Use TextEdit or the like. Alternatively hand write it on a print out or as a Text box label over.
    2. Gather up your images in an Images folder. Helps if you dupe and tag the images according to Fig No. or page number at the beginning of the file name (so they fall in order).
    3. Work your way systematically through the images:
         a. Trim the image as it appears in Pages
         b. Change its resolution to 300dpi at size (for commercial printing)
              DO NOT SCALE UP.
         c. Color Correct and add sharpening as needed
    4. Make a duplicate of the file (for safety) and drag back the edited images into their locations. Hopefully you have made the images placeholders.
    5. Use this .pages file to print from if your Printer will accept it, otherwise Print to .pdf so it maintains its resolution.
    7. If keeping the file size down is important, Use Pages '09 not Pages 5 and use as much vector artwork/font artwork as possible in place of bitmap photos.
    Thinking ahead and being systematic pays off on any large project.
    Peter

  • Images load really slow after using Reduce File Size...

    After using the "Reduce File Size..." feature in Acrobat 9 on Windows Vista, some of the images load really slow as I page through the document. Is there some kind of compression setting that I should look for to prevent the images from be affected by this?
    For some of my documents it will take 30 to 60 seconds to load an image. Sometimes I can't do anything with the document until the graphic loads entirely.

    Can you post an example of a file that has this issue? Personally, I recommend using the PDF optimizer, it gives better control of the final pdf file.

  • Can using "Reduce File Size" in Acrobat Standard 9 effect DPI

    I'm sure the answer is no to this question, but before I wholeheartedly recommend this fantastic tool for use throughout our firm, I need to know if there is the possibility of a PDF's functional DPI being reduced in a scanned PDF by using Reduce File Size.  What I mean, I guess, by functional DPI, is the DPI in the PDF after running the tool.  Courts require 300 dpi on scanned PDFs, which is our standard, but once in a PDF it's impossible to determine (as far as I can tell) DPI in a file.  I notice no reduction in quality when using this tool, but want to make sure that we aren't circumventing court guidelines when using it to help reduce the size of files scanned at 300 dpi.

    Hi Anoop,
    I can share the graphic file, but not the pdf which contains it (as it contains confidential information) - thanks!

  • I want to reduce pdf size up to 5mb for mailing perpose, anybody have any option to reduce it since I have used optimiser & reduce file size option but its not helpfull.

    I want to reduce pdf size up to 5mb for mailing perpose, anybody have any option to reduce it since I have used optimizer & reduce file size option but its not helpful.

    The optimizer can reduce space, but some things can't get smaller. Text for example. Play with the settings, examine the results of Audit Space Usage.
    Or give up. Even 5 MB is too large for a bulk mailing, by far. Instead put it on your web site and mail a link - done!

  • How to reduce file size when using batch processing?

    I use File > Process Multiple Files to batch process photos to a smaller file size along with adding my watermark.  I've played with many different settings and no matter what I choose, I can't get my average file size to be less than about 200k.  However, when I've exported the same photos using iPhoto, I can get the file size to about half of that with no difference (to my naked eye at least) in quality.
    I definitely want to keep the height at 768 pixels so that needs to stay constant.
    My current settings in batch processing (average file size = 200 kb)
    Resize images with a height constraint of 768 pixels at 150dpi
    What I've tried:
    Resize at 72dpi (reduced file size by about 5kb)
    convert file to JPEG low quality (reduced file size by about 10kb)
    convert file to JPEG medium quality (not much difference in file size)
    I'm using PSE 10 on a Mac running Lion.
    Thank you in advance for your help!

    You should go with default settings of Optimizer.
    One difference between default settings of Optimizer and Reduce file size is that Optimizer does not guarantee a reduction in file size (if your Optimizer settings lead to an increase in file size, that's what you will get).
    With Acrobat 9, the default setting in Optimizer has an additional setting which would not do an image optimization that results in increase of file size. In that sense it would in most cases give a smaller file.

  • I use Adobe Acrobat Pro XI (11.0.08) When performing "Save as" "Reduced file size pdf" Adobe processes for a while then completely stops, and has to close down. Just started doing that today.

    I use Adobe Acrobat Pro XI (11.0.08) When performing "Save as" "Reduced file size pdf" Adobe processes for a while then completely stops, and has to close down. Just started doing that today.

    I have Windows 8.1, and when I right click on the Windows flag (bottom left), the menu gives me a "Search" option. When I enter "%temp%", it goes to " "my username"/ appdata/temp" which is a list of file 1718 file folders. Many are empty but I did a small sample. Is that the right place to delete?    I tried Windows- Disk Clean, but that did not help.

  • Reducing file size #2...Preview, Quartz Filter vs Adobe Pro Optimize

    Questions on reducing a pages to pdf file…I will post each question seperatly.
    2) I read that you can reduce file size of a pdf in preview with a quartz filter. I created my own filer and it worked as expected. But, I also have Adobe Acrobat Pro, with save as PDF Optimized. The pro seems to have much more capability than the quartz filters.
    Is one better that the other to use? The adobe optimize (standard settings) took it from 20 to 6 megs.
    THanks, Bob

    The Adobe Acrobat settings you chose are probably using .jpeg to reduce the file size.
    .jpegs are lossy. ie You lose detail and sharpness the more you compress the image.
    The Quartz filters are usually of very high quality, but they are a black box and you need to understand what the settings are in each one. Quartz filters are extremely powerful, fast and as I said usually high quality but I suggest you experiment and see if they meet your needs.
    Peter

  • Reduce File Size in Acrobat Pro (9.5.5) Corrupts Graphics in PDF Documents - shows up as black image

    Whenever I use Reduce File Size in Acrobat Pro (9.5.5), sometimes some of the images (not all) get corrupted and show up as a black image in the new document.
    Actually, the new reduced document looks okay when viewed in Acrobat, but the problem shows up when viewed in the Preview application on the Mac.
    I'm using Acrobat 9.5.5 with Mac OS 10.8.6
    I've tried re-importing the graphic into a new graphic box, which didn't work.  Thinking there may be some type of corruption with the actual graphic file, I then tried viewing the graphic, then taking a screenshot of it to create a completely new file, and then re-importing the new graphic file into the original document (created in Adobe In Design 5.0.4).  I then export the new document as a pdf, and brought it into Acrobat Pro to do the Reduce File Size.  Same thing happens - black box appears where the graphic was.
    I then tried using the Reduce File Size within the Save As function of the Preview application on the Mac - while the graphic remains intact, many of the other graphics in the document are "reduced" too much, to the point where the image quality is seriously degraded, and therefore not usable.
    Any other ideas?

    Hi Anoop,
    I can share the graphic file, but not the pdf which contains it (as it contains confidential information) - thanks!

  • How do you reduce file size of a PDF if Save As doesnt work?

    I have been trying to reduce the size of a PDF, using the Save As > Optimized PDF method.
    I have also tried Save As > Reduced Size PDF.
    This is on a file made up of 20 pages of full page Jpegs. (These were generated by the script in Photoshop that generates Jpeg files from Layer Comps within the document.)
    If I use Reduced Size PDF, I get a greatly reduced file size but the image quality suffers greatly. (Lots of artifacts and blurryness)
    There are no options to choose the level of compression I want.
    If I use Optimized PDF method, I cant seem to reduce the file size no matter what I set the Jpeg compression to.
    Is there some way to cut the size of the file down but not lose so much image quality?
    Any suggestions?

    Part of the problem here is that the files that are produced when I run the script to output files from layer comps are very big.
    If I "save for web" for each layer comp, I wind up with way smaller Jpegs. Thus a much smaller PDF.
    So the question is: Can you make the script, Layer Comps to Files, create smaller more optimized Jpegs? (Like you get when you save for web)

  • How to set option in Scanning for Reduced File Size

    I am scanning from a Fujitsu 6230 scanner in Adobe Acrobat Standard 9.4.1. My scanning options are Color, 300DPI,Letter, High Quality, with Optimization options of Custom Settings of JPEG for Color/Grayscale. The scanned files are very large...1852KB per page. After using the Reduce File Size option and selecting Acrobat 8 and later, the file size is reduced to 187K. Is there a way to preset the Acrobat 8 or later setting....rather than having to do the two-step?
    Also, if I use Fujitsu's scanning interface I get far higher quality pdf's,  with small file sizes, and lower scanning resolution......but without the option to append to a pdf, an option I use frequently. Apparently their program for converting the scanned image to a pdf is more robust than Adobe's. Is there a way to use their image->pdf engine within Acrobat?

    Hi Boatseller,
    I will put this in simple way.
    Can we set properties in biztalk wcf_custom adaptor like 
    1. <security authenticationMode="UserNameOverTransport" 
    2. enableUnsecuredResponse="True" 
    or 
     includeTimestamp="false"
    3. <textMessageEncoding
    messageVersion="Soap11"/>
    <httpsTransport/>
    I am unable to find these properties in BizTalk wcf_custom adaptor properties. It will be great help if you could guide me in right direction . My problem is to receive response message into orchestration which is not having header. But the response is coming
    from web service. I saw that in fiddler.
    Also, If there is any steps to make these properties available in machine config, please share 
    Thanks in advance
    Vivek

  • Why can I only "Save as Other... Reduce File Size" a single time for an Adobe X file?

    We are struggling with our form editing in that anytime we make a change and save the file size is doubled.  As a work around we started using the ...Reduce File Size save as.   However, we can only use that once per file.    Some of our forms contain several hundred fields that are edited, with the behavior as is we cannot save our work as we go.  
    Reproduction Steps...
    1. Open a file in Acrobat X and note it's file size.
    2. Make any kind of change (our work is focued on View>Forms>Edit)
    3. Go to File > Save as Other... > Reduce Size PDF
    4. Set Version Compatability to 'Retain Existing' and Save
    5. File size should be very close to the original
    6. Open the new file
    7. Rinse and repeat steps 2 and 3
    8. Note  that when you go to try to Save as the new edit, the Save As Reduce size is grayed out and no longer available for seslection.
    Please help!!!!

    Just do a standard Save As. The problem is that Save includes the old and new. Save As deletes the old. Also, if you distribute the form it is locked from editing as I understand it.

Maybe you are looking for