Help me remember how i compressed this PDF

Could anyone please help me figure out how I created this PDF file, because I don't remember. What program and compression settings did I use?
In November I compressed the PDF, and I could have sworn it gave me tons more options than what I currently see in Optimize PDF on Acrobat 10. Now I only see JPEG2000, JPEG, and ZIP.
What I remember seeing when I compressed the PDF was a lot more compression options, JBIG2, LZW, FLATE, DEFLATE, JPEG2000, JPG, ZIP and more spefic settings to apply to the compression.
I don't have any previous versions of Acrobat installed, or any other type of third party PDF utility. The options I saw were in something that looked like Adobe Distiller, but that couldn't have been it because it looks like Distiller only takes postscript, and I never did make a postscript out of this PDF. And the adiditional compression options I saw  aren't anywhere in Distiller.
The original uncompressed PDF says "produced in Adobe Acrobat 10.1.1 Image Conversion Plug-in" (Link to DL PDF)
The compressed PDF that I don't remember how I created says "produced in PDFScanLib v1.2.2 in Adobe Acrobat 10.1.1" (Link to DL PDF)
An easier question to ask, and better answer for me would be, how do you create a PDF in a way that it says produced in "produced in PDFScanLib v1.2.2 in Adobe Acrobat 10.1.1"? As I already know how to create the PDF so it says "produced in Adobe Acrobat 10.1.1 Image Conversion Plug-in".
I would really appreciate anyones input and help.

Those were among the first I tried already. They didn't do what I needed. There's still tons of unwanted pixels around the dancer. So after trying every filter I could think have anything to do with what I need + Googling, I gave up and came here.
Thanks anyway.
Maybe I'm using it wrong? Don't think so though.

Similar Messages

  • Help - Cannot Remember how to do this !

    I have a string data separated by a comma : xxx,aaa,bbb,ccc,ddd,eee,yyy,   etc..... stored in sql table.
    What is the command/technique to break up this string and display this data one on top of another :
    xxx
    aaa
    bbb
    ccc
    ddd
    eee
    yyy
    I remember doing it before but cannot remember how to do it and dont know what it is called to research.
    Thanks

    I found some old code using cfloop index and list, seems to work :
    <cfloop index = "i" list = "#carrierTracking#">
    <cfoutput>
    <cfinput type="text" name="carrierTracking" value="#i#">
    </cfoutput>
    <br>
    </cfloop>
    Now in my haste, I discoverd that this field originally was a textarea. When it is displayed, it just uses <cfoutput>#textareaName#</cfouput> so that the textarex box is eliminated. However, this is where the problem exists. One of the lines/sentence is aaa,bbb,ccc,ddd,eee,fff,.......etc, and without the textarea, this line continues to the right, throwing the screen out of whack.
    If I display it as a textarea, I think that would solve the problem. But is there anyway to do it without the textarea ? I dont want to display the lines.
    Thanks

  • I am setting up a new iMac and need help syncing files to Dropbox.  On my old computer I had it set where when I saved a document, it was saved on my hard drive, as well as to a folder in Dropbox.  I can't remember how I set this up.  Any help?

    I am setting up a new iMac and need help syncing files to Dropbox.  On my old computer I had it set where when I saved a document, it was saved on my hard drive, as well as to a folder in Dropbox.  I can't remember how I set this up.  Any help?

    The way that Dropbox works is that it keeps a copy of all your files in your local Dropbox folder on your hard drive (which is, by default, directly under your home folder). Adding files to that folder will sync them to the Dropbox server.
    You do of course have to download the Dropbox application to enable this (download link at the top right of http://dropbox.com ).
    Matt

  • I have used Garage band to slow a tune down so I can learn to play by ear on my Violin and I'd like help remembering how I did this  Thanks!

    I have used Garage band to slow a tune down so I can learn to play by ear on my Violin and I'd like help remembering how I did this  Thanks!

    laurelfromvictoria wrote:
    slow a tune down
    http://www.bulletsandbones.com/GB/GBFAQ.html#changeimportedtempo
    (Let the page FULLY load. The link to your answer is at the top of your screen)

  • How to compress a pdf file without quality loss

    How to compress a pdf file without quality loss? Please help....

    With the way you worded the question, your only option is to zip (or equivalent) the PDF. There are options in terms of graphic compression (this is generally a loss of quality in reducing the pixels) and nonstorage of fonts (likely making the file unreadable to some). So there are techniques, but with a tradeoff. It all depends on what you mean by loss of quality.
    The other techniques that do not lose quality, but give up on some functionality are to remove links, bookmarks, and tags. The tags are often necessary only for converting a PDF back to another form and maintaining accessibility - important in some business situations. These are all tradeoffs that give something up.

  • How to compress a PDF file

    I just wanted to know how to compress a PDF file to send via email.

    Try the Colorsync Utility
    ~/Applications/Utilities/ColorSync Utility>Filter
    Reduce file size
    or
    create generic PDFX 3 DOC

  • How to compress a pdf file so I can e-mail

    how to compress a pdf file so I can e-mail it

    On a Windows you can try a program like WinZip or WinRar.

  • I can't remember how to open a pdf file that I saved in My Documents.

    At one time I knew how to open a pdf saved in My Documents on my iMac, but I can't remember now. I need to open this document because it's for my taxes. Any help will be greatly appreciated.
    ~ Sue

    Care to share which OS you are using?

  • Received .PDF files which when opened are in "Western European Windows" and are just gibberish. I have adobe 10.0.01 installed now. Can you help please in how to correct this Thanks

    I received three files in Microsoft Outlook in a PDF format. When I clicked on open I got a window showing "Opening Mail Attchment" and only open from "trusted" sources. After opening it displayed a window for File conversion with Windows as the default with Western European( Windows) as I assume the font. The file was shown but had essentially meaningless characters and numbers with maybe the occasional meaningful word. There seems no way to understand why this happened or to correct it. Can you help please

    See also [/questions/809183]

  • Can't remember how I did this

    Last year while getting some things ready for a high school computer graphics class I was teaching, I created a composite image using several of my photos. I work using levels and I had one image each on its own level. I needed to merge two images to create the effect that they were one - a running stream was one (a sort of earth tone tint) and a small waterfall cascading over some rocks was the other (a more warmer orange-ish tint). I thought I used a level merge command but when the two levels were merged, the coloring on the images matched (the earth tone tint)! I can't for the life of me remember what I did! I've tried auto-blend but the top image just disappears and photomerge doesn't look familiar.
    I've gone through the CS3 Instruction Manual but am not having much luck finding my answer. Can anyone help?
    Thank you in advance! :)

    (Sorry...but I just HAD to do it...)
    JERRY: Levels?
    KRAMER: Yeah, I'm getting rid of all my furniture. All of it. And I'm going to build these different levels, with steps, and it'll all be carpeted with a lot of pillows. You know, like ancient Egypt.
    JERRY: You drew up plans for this?
    KRAMER: No, no. It's all in my head.
    MORTY: I don't know how you're going to be comfortable like that.
    KRAMER: Oh, I'll be comfortable.
    JERRY: When do you intend to do this?
    KRAMER: Ohh.. should be done by the end of the month.
    JERRY: You're doing this yourself?
    KRAMER: It's a simple job. Why, you don't think I can?
    JERRY: Oh, no. It's not that I don't think you can. I know that you can't, and I'm positive that you won't.
    KRAMER: Well, I got the tools. I got the pillows. All I need is the lumber.
    MORTY: Hey, that's some big job.
    JERRY: I don't see it happening.
    KRAMER: Well, this time, this time you're wrong. C'mon. I'll even bet you.
    JERRY: Seriously?
    HELEN: I dont' want you betting. Morty, don't let him bet.
    KRAMER: A big dinner with dessert. But I've got till the end of the month.
    JERRY: I'll give you a year.
    KRAMER: No, no, no. End of the month.
    JERRY: It's a bet. (They both "pinkie swear" to lock the deal)

  • Help a newby - How complicated is this baby?

    I've been working with iMovie08 and I'm not happy with the results of what I've produced. So I just picked up a copy of FInal Cut Express 4 at the Mac store today. I came home, installed the software and (boing), this is a tough bugger. So I went online and ordered Lisa Brenneis, book FCE4 Visual Quick Start Guide. I've used Visual Quick Start Guides with other programs and they're usually pretty easy.
    So here's my question. Will a guide like this help a middle aged guy with limited patience dive into this software and become successful? Or should I spend $100 (half the price of the program) to take the FCE4 training at the Mac store?
    I need to get a good grasp of the software ASAP. Any suggestions?
    Thanks!

    Rick ..... please accept my apologies for taking your thread off-topic (in middle-age the mind tends to wander).
    To make up for it I have found this Basic Tutorial to get you started.
    It was posted last April by Da Nam and I am taking the liberty of copying it here without his permission!
    I hope you find it of some use ..........................
    Da Nam: Absolute basic lesson I composed a while back for someone starting out with FCP so, deep breath,
    "Leesten very carefully, I vill say zees only vonce!" * (Franglais accent|)
    * 'Allo, 'Allo - old UK sitcom - I’m sure Ian R. Brown remembers! - apologies to any French speakers!
    1) Set scratch disk -
    i.e specify where your captured media and other files will be stored.
    In the Final Cut Pro menu, go 'system settings' and select the 'scratch disks' tab. Click 'set' and set your scratch disk to your attatched external firewire hard drive (you do know it's not recommended to capture to your system drive, don't you?)
    e.g '(external hard drive name) - users - documents - final cut pro documents'.
    (If you don't have or choose not to use an external FW HD, the scratch disk will be set to '100GB (or however much space you have available) - Macintosh HD - users - documents - final cut pro documents.)
    2) Choose easy set up
    A quick way of choosing an err.... easy set up.
    From the Final Cut Pro menu, choose ‘Easy Setup’ and choose ‘DV-NTSC’ (if that’s what you’re working with)
    3) Go ‘file’ – ‘save as’. Name your project and choose where to save the project file.
    This should be on your system drive (either documents/movies or wherever you prefer). The project file should be backed up frequently – it’s the brain of your project but as it contains no media – just pointers or references – it is small in size so back it up to a removable USB flash drive.
    4) To transfer video from your camcorder to computer (called capturing) connect your camcorder to your Mac via a firewire cable and put it into ‘playback’ or ‘VCR’ mode. (This should be done before launching FCP.
    Captured clips are filed into ‘bins’ in the ‘browser’ window. In anything than the smallest of projects, you will want to have a number of different bins for organizational purposes – e.g scene 1/scene 2 or location X / location Y or whatever you prefer.
    To achieve this go ‘file’ – ‘new bin’ – a ‘bin 1’ icon will appear in the browser – name this, then select it (by clicking on it) and go ‘file’ – ‘set logging bin’ – a small clapperboard will appear next to the bin signifying that this is the bin to which you are capturing your clips.
    Go ‘file’ – ‘Log and Capture’ – The ‘Log and Capture’ window opens and click on the ‘clip settings tab’ and set your ‘capture’ and ‘audio format’ to ‘audio and video’ and ‘stereo’ respectively (or whatever you choose).
    In the ‘Logging’ tab, it’s important to name your ‘reel’ accurately to reflect the name of your source tape.
    Then using the transport controls in the log and capture window to control your video camera, click the play icon to view the video.
    Press the ‘i’ key to set the ‘in’ point of a clip and ‘the ‘o’ key to set the out point. Then click the ‘log clip’ button and fill in some info as required.
    Repeat the last paragraph until you’ve got as many clips into the specified bin as you require.
    At this moment, the clips will be ‘off-line’ (signified by a red strip thro’ the clips in the browser. To digitize these clips and place them on your hard drive, click the ‘batch’ button and in the resulting dialogue, choose ‘all items in logging bin’ or ‘off-line’ or ‘selected clip’ – whatever you want to digitize. Assuming you’ve left enough ‘pre-roll’ / ‘post roll’ at the beginning / end of the tape and you’ve got no timecode breaks in the tape, you should be able to relax and wait till the capture is complete.
    After clicking OK or continue or whatever prompt you are given next, the files will be connected (the red bars magically disappearing) so hit save project and then either create a new logging bin and continue to log or close the log and capture window to start editing.
    5) To start editing, double click a clip in the browser to load it into the viewer window, where you’ll set in and out points (to trim your clips prior to placing in the timeline), view the effects of filters/effects you might apply to the clips and change their properties.
    With the clip loaded into the browser, click the ‘i’ and ‘o’ keys to set in and out points i.e where you want the clip to start and finish and then drag the clip from the viewer onto the timeline. Drag the playhead back and forth and use the transport controls to scrub through the clip and choose your in and out points. Hitting the ‘j’, ‘k’ and ‘l’ keys will play the clip back and forth at varying speeds depending upon how many times you press the keys.
    To the top right of the timeline are 2 small boxes. Hover the cursor above each in turn and you’ll see one says ‘Linked selection’ and the other says ‘snapping’.
    Toggle these on and off to select and deselect either option. Snapping enabled will accurately ‘butt’ up clips next to each other without a gap. Linked selection toggled off allows you to unlink the audio from the video.
    The canvas window is where you can watch the results on the timeline.
    To add an effect from the effects tab in the browser to a clip, drag an effect onto the clip in the timeline, double clip the click to load it into the viewer and adjust the values in the ‘filters’ tab in the viewer, monitoring the result in the canvas.
    It’s recommended to monitor the editing process via some form of external monitor attatched to your Mac via the A/V output of your videocamera/dedicated deck to at the very least a domestic portable TV, if not a broadcast monitor. This will help with colour correction and ‘title safe’ areas for TV playback.
    To output your finished project either use the ‘file’ – ‘print to video’ option and record back to tape in your camcorder or create a Quicktime movie (‘file’ – ‘export’ – quicktime movie’ (leave the ‘make movie self contained’ checkbox unchecked) to use in iDVD/DVD Studio Pro or use ‘Compressor’ to give you more compression options before authoring in DVDSP.
    As I said, this is a beginners guide to get you going – there are many different and preferred ways of achieving this. That’s just the way I work so get a good book or 2 and work your way through the manuals.

  • Advice / Help needed on how to tackle this mountain...

    First, I've scoured the forums looking for an answer and some clarity, but have come up empty. Any advice or help you can offer will be greatly appreciated...
    So I'm trying to tackle the feat of sorting though thousands of MP3s in several different fodlers, and getting them all stored in one folder, with just the ones I want to keep (estimated to be about 3,000 when all said and done). Having iTunes just automatically copy them as I drag and drop is perfect, but I don't want the program to automatically sort them in hundreds of different folders. Is there a way to not completely turn this folder off, but have it just copy into the root folder?
    Assuming the answer is no, what's the best way for me to approach this? Right now I've turned off the copy feature, have been adding 100 or so songs into a new playlist, editing the tags in iTunes, and copying into my finish root folder. However, I obviously lose my rating when I move the files, and have to update my library by removing all previous files in library, and adding the root folder again.
    A way around this is for me to just not assign a rating to any files until I have my final root folder set for import into iTunes library, but this also raises a conceptual problem: I use other programs for uplaoding songs from CDs and DLing, and have them all sent to an "Unsorted MP3s" folder. I would like to be able to go back to this folder, edit the tags and clean them up, then copy them into the root folder and updating my library without having to remove all and reimport the whole folder, losing all my ratings and playcounts.
    So I guess there's really 2 questions I have;
    First, is there a way to have iTunes just copy the file into a root folder without automatically sorting and creating folders itself?
    If no, what's the best way for me to go about updating, importing, and copying songs into a singular root folder? I realize I could just stay on top of it, and only add a few files at a time individually, but that solution isn't very feasible when I'd like to update and add large numbers at a time.
    I gotta imagine there's something I'm missing here and it's possible. I did have the idea of merging ALL of my MP3s into my root folder first, then delete and edit from iTunes, eventually ending with a perfect library and all files in one folder. However, I'm still posed with the problem of how to add files at a later date without losing my whole library...
    Hopefully I haven't been too confusing, and I'll be sure to offer more clarity if need be. Thanks in advance for all the help!
    -Mike

    Im not a 100% sure on what your trying to do, i think and correct me if im wrong but you want to copy all your songs that are scattered all over the pc into one folder in the root but not have itunes consolidate the files into folders by name etc.
    Im not sure if this is of any help to you but i had songs scattered all over my pc and wanted to put them in a central folder and then share that folder accross multiple user accounts on the one pc (this could be the root if you wish i just chose shared music) if you follow the following link it explained what i did to put all my music in the one place. (I urge caution though as im not 100% certain if this is what you want to do, anyway hope it help)
    http://discussions.apple.com/thread.jspa?threadID=608497&tstart=0

  • How to compress a pdf file in java?

    I have a program which will convert a Tiff image(900kb) to a PDF File(250-300KB), I want the pdf file to be compressed least(80-100KB) , inorder to transmit the file to the server and save it there,
    I have tried using java.util.zip outputStreams its not doing so,
    Why it is?
    Or Give a alternate Solution for it?
    Or Is there any free software that do it for me?
    Please do suggest !

    This is my code where I am passing a .tiff file and getting the .pdf file as output.
    Now I want to reduce the output PDF File size.
    public void convertTiff2PDf(String tiff_file)
                   String      pdf_file = tiff_file.substring(0, tiff_file.lastIndexOf(".") + 1) + "pdf";
                   Document document = new Document();
                   try
                        PdfWriter writer = PdfWriter.getInstance(document,
                                  new FileOutputStream(pdf_file));
                        int pages = 0;
                        document.open();
                        PdfContentByte cb = writer.getDirectContent();
    RandomAccessFileOrArray ra = null;
    int comps = 0;
    try {
    ra = new RandomAccessFileOrArray(tiff_file);
    comps = TiffImage.getNumberOfPages(ra);
    catch (Throwable e) {
    System.out.println("Exception in " + tiff_file + " " + e.getMessage());
    for (int c = 0; c < comps; ++c) {
    try {
    Image img = TiffImage.getTiffImage(ra, c + 1);
    if (img != null) {
    System.out.println("page " + (c + 1));
    if (img.scaledWidth() > 500 || img.scaledHeight() > 700) {
    img.scaleToFit(800, 850);
    img.setAbsolutePosition(20, 20);
    // document.add(new Paragraph(tiff_file + " - page " + (c + 1)));
    cb.addImage(img);
    document.newPage();
    ++pages;
    catch (Throwable e) {
    System.out.println("Exception " + tiff_file + " page " + (c + 1) + " " + e.getMessage());
                        ra.close();
                        document.close();
                   } catch (Throwable e) {
                        e.printStackTrace();
         }

  • Please help us! How to correct this wrong!

    My program throws an unexpected exception as following:
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x77C015B5
    Function=GetFileVersionInfoSizeW+0x224
    Library=D:\WINDOWS\system32\VERSION.dll
    Current Java thread:
         at net.csetech.hc.icaocsr.IcaoCsr.ids_Init(Native Method)
         at net.csetech.hc.icaocsr.IcaoCsr.main(IcaoCsr.java:73)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)
    Dynamic libraries:
    0x00400000 - 0x0040B000      D:\j2sdk1.4.2_08\bin\java.exe
    0x7C900000 - 0x7C9B0000      D:\WINDOWS\system32\ntdll.dll
    0x7C800000 - 0x7C8F4000      D:\WINDOWS\system32\kernel32.dll
    0x77DD0000 - 0x77E6B000      D:\WINDOWS\system32\ADVAPI32.dll
    0x77E70000 - 0x77F01000      D:\WINDOWS\system32\RPCRT4.dll
    0x77C10000 - 0x77C68000      D:\WINDOWS\system32\MSVCRT.dll
    0x08000000 - 0x08138000      D:\j2sdk1.4.2_08\jre\bin\client\jvm.dll
    0x77D40000 - 0x77DD0000      D:\WINDOWS\system32\USER32.dll
    0x77F10000 - 0x77F56000      D:\WINDOWS\system32\GDI32.dll
    0x76B40000 - 0x76B6D000      D:\WINDOWS\system32\WINMM.dll
    0x10000000 - 0x10007000      D:\j2sdk1.4.2_08\jre\bin\hpi.dll
    0x00390000 - 0x0039E000      D:\j2sdk1.4.2_08\jre\bin\verify.dll
    0x003B0000 - 0x003C9000      D:\j2sdk1.4.2_08\jre\bin\java.dll
    0x003D0000 - 0x003DE000      D:\j2sdk1.4.2_08\jre\bin\zip.dll
    0x00970000 - 0x00977000      D:\IntelliJ-IDEA-4.5\bin\breakgen.dll
    0x02DC0000 - 0x02DCF000      D:\j2sdk1.4.2_08\jre\bin\net.dll
    0x71AB0000 - 0x71AC7000      D:\WINDOWS\system32\WS2_32.dll
    0x71AA0000 - 0x71AA8000      D:\WINDOWS\system32\WS2HELP.dll
    0x02E10000 - 0x02E17000      D:\VSS\icaocsr\jicaocsr.dll
    0x02E20000 - 0x02EBA000      D:\VSS\icaocsr\csrsdk.dll
    0x02EC0000 - 0x02F58000      D:\VSS\icaocsr\ID_Star.dll
    0x02F60000 - 0x02FC5000      D:\VSS\icaocsr\CamConj.dll
    0x77C00000 - 0x77C08000      D:\WINDOWS\system32\VERSION.dll
    0x02FD0000 - 0x0301E000      D:\VSS\icaocsr\FireCamJ.dll
    0x77F60000 - 0x77FD6000      D:\WINDOWS\system32\SHLWAPI.dll
    0x74AD0000 - 0x74AD8000      D:\WINDOWS\system32\POWRPROF.dll
    0x77920000 - 0x77A13000      D:\WINDOWS\system32\SETUPAPI.dll
    0x76080000 - 0x760E5000      D:\WINDOWS\system32\MSVCP60.dll
    0x73DD0000 - 0x73ECE000      D:\WINDOWS\system32\MFC42.DLL
    0x5FD00000 - 0x5FD0D000      D:\WINDOWS\system32\MFC42LOC.DLL
    0x76C90000 - 0x76CB8000      D:\WINDOWS\system32\imagehlp.dll
    0x59A60000 - 0x59B01000      D:\WINDOWS\system32\DBGHELP.dll
    0x71A50000 - 0x71A8F000      D:\WINDOWS\system32\mswsock.dll
    0x662B0000 - 0x66308000      D:\WINDOWS\system32\hnetcfg.dll
    0x71A90000 - 0x71A98000      D:\WINDOWS\System32\wshtcpip.dll
    0x76BF0000 - 0x76BFB000      D:\WINDOWS\system32\PSAPI.DLL
    Heap at VM Abort:
    Heap
    def new generation total 576K, used 287K [0x10010000, 0x100b0000, 0x104f0000)
    eden space 512K, 56% used [0x10010000, 0x10057d38, 0x10090000)
    from space 64K, 0% used [0x10090000, 0x10090000, 0x100a0000)
    to space 64K, 0% used [0x100a0000, 0x100a0000, 0x100b0000)
    tenured generation total 1408K, used 0K [0x104f0000, 0x10650000, 0x14010000)
    the space 1408K, 0% used [0x104f0000, 0x104f0000, 0x104f0200, 0x10650000)
    compacting perm gen total 4096K, used 1245K [0x14010000, 0x14410000, 0x18010000)
    the space 4096K, 30% used [0x14010000, 0x141474a0, 0x14147600, 0x14410000)
    Local Time = Mon Oct 31 09:46:57 2005
    Elapsed Time = 0
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_08-b03 mixed mode)
    Please help and explain this mistake for me. Thank for fromt reply.

    Dir sir,
    Our program use Native Method in Java with some code in C++ as bellow:
    * Class: net_csetech_hc_icaocsr_IcaoCsr
    * Method: ids_Init
    * Signature: ()I
    JNIEXPORT jint JNICALL Java_net_csetech_hc_icaocsr_IcaoCsr_ids_1Init
    (JNIEnv *env, jobject obj) {
         if(CSRInit(0) != CSR_OK)
              return 1;
         else
              CSR_DEVICE_STATUS st;
              char revision[STR_SIZE];
              if(CSRGetStatus(revision,&st) != CSR_OK)
                   return 1;
              else
                   CSR_DEVICE_TYPE tp;
                   if(CSRGetDeviceType(&tp) != CSR_OK)
                        return 1;
                   if(CSRSetDeviceCallback(CSR_CALLBACK_WINDOW,
                        GetActiveWindow(), NULL, NULL, 0) != CSR_OK)
                        return 1;
         return 0;
    * Class: net_csetech_hc_icaocsr_IcaoCsr
    * Method: ids_ReadMRZonICAOdocument
    * Signature: (Ljava/lang/String;)I
    JNIEXPORT jint JNICALL Java_net_csetech_hc_icaocsr_IcaoCsr_ids_1ReadMRZonICAOdocument
    (JNIEnv *env, jobject obj, jstring tiffImage) {
         const char *image = env->GetStringUTFChars(tiffImage, 0);
         CSRHANDLE               img;
         CSRImageParameter     para;
         CSRSetDefaultImageParameter(&para);
         para.ImageType = CSR_RAWGRAY;
         para.LightType = CSR_IR;
         para.ExposureTime = 50;
         para.UseShading = FALSE;
         if(CSRCreateImage(&para,&img) != CSR_OK)
              return 1;
         if(CSRAcquire(img) != CSR_OK)
              CSRFreeImage(img);
              return 1;
         BYTE*     binimg;
         DWORD     binimglength;
         if(CSRBinarizeImage(img,&binimg,&binimglength) != CSR_OK)
              CSRFreeImage(img);
              return 1;
         CFile file(image,
              CFile::modeCreate|CFile::typeBinary|CFile::modeWrite);
         file.Write(binimg,binimglength);
         jclass cls = (jclass)env->GetObjectClass(obj);
    jfieldID fid;
    fid = (jfieldID)env->GetFieldID(cls, "icaoLines", "[Ljava/lang/String");
         BYTE                    *IcaoLines;
         WORD                    Formatcheck;
         UINT                    LinesRead;
         LINE_COORDINATES     *Coords;
         int                         result = 0;
         if(CSRReadIcaoDocument(binimg,binimglength,&IcaoLines,
              &Coords,&Formatcheck,&LinesRead) != CSR_OK)
              result = 1;
         else
              BYTE *pLine = IcaoLines;
              jstring jIcaoLine = env->NewStringUTF("");
              jobjectArray jIcaoLines = env->NewObjectArray(
                   LinesRead,cls,jIcaoLine);
              for(UINT i=0; i<LinesRead; i++)
                   jIcaoLine = env->NewStringUTF((const char*) pLine);
                   env->SetObjectArrayElement(jIcaoLines,i,jIcaoLine);
                   pLine += strlen ((const char *)pLine)+1;
              env->SetObjectField(obj, fid, jIcaoLines);
         CSRFree((void**)&IcaoLines);
         CSRFree((void**)&Coords);
         CSRFreeImage(img);
         return result;
    * Class: net_csetech_hc_icaocsr_IcaoCsr
    * Method: ids_Disconnect
    * Signature: ()I
    JNIEXPORT jint JNICALL Java_net_csetech_hc_icaocsr_IcaoCsr_ids_1Disconnect
    (JNIEnv *env, jobject obj) {
         if (CSRCleanup()!=CSR_OK)
              return 1;
         else
              return 0;
    And our program is running on Windows XP Professional.
    Our program has problem only with Init Function and we try to increase VM memory but our program is still failure.
    If we don't use java environment, but using Visual C++ 6.0, our program has no problem.
    However, we must process more complex.
    Thank for Reply.
    Regards.

  • Help!! How to get this effect in Photoshop?

    How do you get this effect in PS7?
    http://www.cobrastarship.com/media/justblaize.jpg
    Thanks soo much!!

    Photomatix.
    http://www.hdrsoft.com/gallery/index.php
       @ Chris

Maybe you are looking for

  • I can't believe I fixed my Shuffle!

    After suffering all the problems with the latest version of the firmware/drivers and iTunes updates, I had a shuffle that couldn't be synced, couldn't be recognized, and couldn't play. Guess what? I fixed it and it now works better than ever, with va

  • Excel 2013 Save as HTML Has Wrong Formatting

    I have an Excel file with 6 worksheets and some simple styling of the fonts. I use "Save As" html type, and select Entire Workbook.  When I view the html page on my local machine (Windows 7 64bit, IE 11), it all looks fine. When I copy the files (fil

  • Problem with validation - can this be fixed?

    Hello I used an online tutorial to create an "express CSS menu" the menu looks really good but it does not validate and in IE7-Vista every page you try to access prompts an error that says "Problems with this webpage may prevent it from displaying pr

  • How to recreate my recovery partition?

    I was installing Windows using Parallels and not BootCamp. The install failed and when I went to check my drive, my recovery partition was missing. Should I just  re-download Maverick and do a re-install? Or ids the e a better approach? Thanks

  • ***Immediately needed..plz help

    SAP script for Purchase Order 1.How to design a layout? 2.How to write a Driver program for the printing of P.O?