2.1 GB TIF size limit

Hello,
A problem I've encountered is that Photoshop CS3 cannot open an LZW TIF file generated in another program if it is above 2.1 GB (closed size). Any attempt to open with Photoshop results in the following message: "Could not complete your request because Photoshop does not recognize this type of file."
Is there a way to trick Photoshop into thinking that it is actually a Photoshop generated Tif? In other words, can it be converted to a Photoshop Tif without opening it?
Thanks in advance for any suggestions.
Cheers,
Bart
Intel MacBook Pro 2.33 Core Duo, 3 GB Ram/OS X 10.4.11

Ramon,
Please do the following to see what I'm talking about:
1) Take a screenshot to create a quick example file (or use an existing file), and open the image in Preview.
2) In Preview, choose Edit > Copy. (This copies the current document's contents to the pasteboard in various formats A quick look with the developer example app Clipboard Viewer shows the image has been copied as "public.tiff", "NeXT TIFF v4.0 pasteboard type", "com.apple.pict", and "Apple PICT pasteboard type", and others).
3) Open Photoshop and choose File > New. (Note that the Preset popup button should automatically be set to "Clipboard", and the dimensions and resolution should reflect those of the image that's on the pasteboard).
4) Click OK to create the new empty document.
5) Choose Edit > Paste to paste the contents of the image from the clipboard into the new image.
The OP said he could open the file in Preview from where he could do the copying.
Seeing that this copies the image (even a PNG image) to the pasteboard as a TIFF, in a 32 bit Tiger app, they'll likely run up against NSData's 2 GB limit, which would prevent the copying from working. Might want to try the cropping idea, though I'm not sure if that would work either.

Similar Messages

  • Size limit on tifs?

    I had a very high resolution scan made of a large format negative. The resulting file is about 1.5 GB. When I try to open it in Aperture (1.5.6), it says "loading" for several hours, after which it says "unsupported image format". I have lots of other scans (all tifs) that are in the 70 MB range, and they load and adjust without problems.
    Can I be hitting some kind of size limit?
    I'm on an iMac with 2 GB of RAM
    Thanks in advance!

    The problem is - guess -perhaps connected with VRAM. When I had opportunity last year to talk to Apple at PhotoExpo, they told me that VRAM is used to hold the image for processing and of course for frame buffer for the screen. So, deducting your screen res. from your VRAM gives you available VRAM for the image.
    It may be that if Aperture cannot hold the full image in VRAM, it cannot or fails to page to System RAM.
    Paging to System RAM would be even uglier for performance than a large image in and of its size vs. a 20Mb-30Mb image would suggest.
    It would be an interesting test for somebody with a 512Mb VRAM card and somebody with a 256Mb VRAM card.

  • "Convert Text to Table" Size limit issue?

    Alphabetize a List
    I’ve been using this well known work around for years.
    Select your list and in the Menu bar click Format>Table>Convert Text to Table
    Select one of the column’s cells (1st click selects entire table, 2nd click selects individual cell)
    Open “Table Inspector” (Click Table icon at top of Pages document)
    Make sure “table” button is selected, not “format” button
    Choose Sort Ascending from the Edit Rows & Columns pop-up menu
    Finally, click Format>Table>Convert Table to Text.
    A few days ago I added items & my list was 999 items long, ~22 pages.
    Tonight, I added 4 more items. Still the same # pages but now 1,003 items long.
    Unable to Convert Text to Table! Tried for 45 minutes. I think there is a list length limit, perhaps 999 items?
    I tried closing the document w/o any changes. Re-opening Pages & re-adding my new items to the end of the list as always & once again when I highlight list & Format>Table>Convert Text to Table .....nothing happens! I could highlight part of the list up to 999 items & leave the 4 new items unhighlighted & it works. I pasted the list into a new doc and copied a few items from the middle of the list & added them to the end of my new 999 list to make it 1003 items long (but different items) & did NOT work. I even attempted to add a single new item making the list an even 1000 items long & nope, not working. Even restarted iMac, no luck.
    I can get it to work with 999 or fewer items easily as always but no way when I add even a single new item.
    Anyone else have this problem?  It s/b easy to test out. If you have a list of say, 100 items, just copy & repeatedly paste into a new document multiple times to get over 1,000 & see if you can select all & then convert it from text to table.
    Thanks!
    Pages 08 v 3.03
    OS 10.6.8

    G,
    Yes, Pages has a table size limit, as you have discovered. Numbers has a much greater capacity for table length, so if you do your sort in Numbers you won't have any practical limitation.
    A better approach than switching to Numbers for the sort would be to download, install and activate Devon Wordservice. Then you could sort your list without converting it to a table.
    Jerry

  • Connection pool size limit error

    Hi all,
    I am trying to execute a BAPI function from MII, execution fails with the following message;
    [ERROR] Unable to make RFC call Exception: [Problem retrieving JCO.Function object: Connection pool <ECC_Server>:800:02:EN:ECCUser is exhausted. The current pool size limit (max connections) is 1 connections.]
    [WARN] [SAP_JCo_Function_0] Skipping execution of output links due to action failure.
    [ERROR] Uncaught exception from SAP_JCo_Function_0, Problem retrieving JCO.Function object: Connection pool <ECC_Server>:800:02:EN:ECCUser is exhausted. The current pool size limit (max connections) is 1 connections.
    Config:
    1. In 'SAP MII: Connections' of type JCO and have given pool size to 100.
    2. In 'SAP MII: Credential Stores' store is created and same is being used in Start Session.
    3. In  JCO_Function block, we can search for the Function Module and set it.
    MII Version:
    14.0.2 Build(82)
    Am I missing something?
    Has any one seen this? please advise.
    Thanks,
    Message was edited by: Shridhar N

    Check if there is another JCo connection configured with the same IP and User. I have found in the past that even though there are two connections configured because they have the same ip and user they are put into one pool with the lowest max pool of the two connections.

  • Is there a way to put more apps (increase the folder size limit) in iOS 5.0.1 on iPad2

    I read on some site that there is an app that allows one to increase the desktop folder size limit in iOS 5.0.1 on an iPad2 does anyone have any info please?
    Thanks for any thoughts in advance.....
    Dave

    Firstly, Thanks for taking the time to reply :-) 
    It's not that I want gazillions of apps, I just wanted to put more in each folder so I don't have to have multiple folders with similar names....Weather1, 2, 3,etc.... but I see your point and appreciate the thoughts.
    Dave

  • How do I change the attachment size limit in Calendar Server 6.3, UWC, IWC?

    How do I properly increase or decrease the attachment size limit with Calendar Server and all supported user interfaces to it such as WCAP, UWC (Communications Express) and IWC (Convergence)? From my experience with the Outlook Connector, there seems to be some limit imposed by cshttpd on the size of a file upload (I believe I actually got an HTTP error code back on the wcap request indicating something was too big, sorry I don't have it handy, I'll have to re-test). Additionally, it seems UWC imposes additional limits (Example: http://docs.sun.com/app/docs/doc/819-4440/6n6jfgcjh?l=en&a=view&q=fileSizeHardLimit) but I can't seem to get those to work at all. I found many different web.xml related to UWC and I'm not sure which one to change, I tried a couple but had no success because UWC would always report this error if I uploaded between 4-5 megs: com.iplanet.jato.util.WrapperRuntimeException
    Root cause = [java.io.IOException: Request cancelled because file input field
    "importFile" size is over the configurable limit of 4194304 bytes; see filter init
    parameter fileSizeHardLimit]
    And it would complain about requestSizeLimit I think if it was over 5 megs, claiming that limit was 5242880. IWC gives a generic error when the upload is too big and rejects it.
    I fear that a 4 meg limit will be too imposing and of limited value, so I would either like to raise it, or consider lowering it to 0 bytes so attachments cannot be used at all. I have been looking high and low for information on how to do this and all I can find is the UWC examples. I plan to support the Outlook Connector, UWC, and IWC so the limits should ideally be the same across each. Some of the Exchange data we wish to import does have some attachments so it would be good to continue support for that. I did see some other posts about quota RFEs but at this point I am not concerned about the disk consumption. Can anyone help? Thanks. Please let me know if there is any more information I can provide. I am running SCS6u1 on Solaris 10 SPARC.

    Fred@egr wrote:
    Thanks!!! This is working with IWC and I am pretty sure it will work with Outlook. I didn't think to look at config options for mshttpd since I don't have it installed and ics.conf doesn't list the http.service.maxmessagesize and service.http.maxpostsize by default.http.service.maxmessagesize is only relevant to mshttpd, not cshttpd. service.http.maxpostsize applies to both.
    UWC is still limiting me though; I'm sure I can reconfigure UWC if I just know which file to edit and if I need to redeploy anything. I'm using the same install paths as the SCS6 Single Host example and I'm not sure which the "uwc-deployed-path" is supposed to be. Again, thanks.If you have deployed UWC/CE to Application Server you would edit the following file and restart application-server:
    /opt/SUNWappserver/domains/domain1/generated/xml/j2ee-modules/Communications_Express/web.xml
    e.g.
      <filter>
        <filter-name>MultipartFormServletFilter</filter-name>
        <filter-class>com.sun.uwc.calclient.MultipartFormServletFilter</filter-class>
        <init-param>
          <param-name>fileSizeHardLimit</param-name>
          <param-value>15485760</param-value>
        </init-param>
        <init-param>
          <param-name>requestSizeLimit</param-name>
          <param-value>15485760</param-value>
        </init-param>
        <init-param>
          <param-name>fileSizeLimit</param-name>
          <param-value>15485760</param-value>
        </init-param>
      </filter>Regards,
    Shane.

  • LabView RT FTP file size limit

    I have created a few very large AVI video clips on my PXIe-8135RT (LabView RT 2014).  When i try to download these from the controller's drive to a host laptop (Windows 7) with FileZilla, the transfer stops at 1GB (The file size is actually 10GB).
    What's going on?  The file appears to be created correctly and I can even use AVI2 Open and AVI2 Get Info to see that the video file contains the frames I stored.  Reading up about LVRT, there is nothing but older information which claim the file size limit is 4GB, yet the file was created at 10GB using the AVI2 VIs.
    Thanks,
    Robert

    As usual, the answer was staring me right in the face.  FileZilla was reporting the size in an odd manner and the file was actually 1GB.  The vi I used was failing.  After fixing it, it failed at 2GB with error -1074395965 (AVI max file size reached).

  • [AS3 AIR] 2880x2880 Size Limit, Camera, Filter, CameraRoll Issues & Finger Friendly Components

    AS3 AIR ANDROID
    I started playing with this Adobe AIR for Adroid by building an app that would let the user take a picture using the mobile device's native camera app.  Then, I'm applying filter effects to make the image look cool.  Then, I'm allowing the user to save the image back to the camera roll.
    Here are some questions that I have:
    KEEPING UP WITH CURRENT TECHNOLOGY
    Are we limited to the 2880x2880 stage size limit?  Although, this dimension does yield 8+megapixels, it's not in the ratio that most camera sensors are built (widescreen).  Plus, you can bet that newer cameras will have even higher dimensions.  Will this be updated to keep up with current technology requirements?
    IMPORTING & MANIPULATING CAMERA DATA
    Code
    var bmpData:BitmapData = new BitmapData($loader.width, $loader.height);
    bmpData.draw(DisplayObject($loader));
    bmp = new Bitmap(bmpData);
    bmp.width = Capabilities.screenResolutionX;
    bmp.height = Capabilities.screenResolutionY;
    if (CameraRoll.supportsAddBitmapData) {
        var cameraRoll:CameraRoll = new CameraRoll();              
        cameraRoll.addEventListener(ErrorEvent.ERROR, onCrError);
        cameraRoll.addEventListener(Event.COMPLETE, onCrComplete);
        var savedBmpData:BitmapData = new BitmapData (bmp.width, bmp.height);
        savedBmpData.draw(DisplayObject(bmp));
        cameraRoll.addBitmapData(savedBmpData);
    } else {
        trace("~" + "Camera Roll not supported for this device.");
    addChild(bmp);
    When you capture an image using the mobile device's camera app, you have to use the Loader object.
    So, here, I am doing just that with these steps:
    First, I'm creating a BitmapData object and sizing it the same as the camera image.
    Pass the camera image into the BitmapData object.
    Create a Bitmap object and pass in the BitmapData.
    Resize it to fit on the stage.
    Check for Camera Roll and then create a savedBmpData BitmapData object at the size of the screen.
    Pass in the bmp.
    Save it to the Camera Roll.
    The problem is that when the image is displayed on the phone, it shows THE ENTIRE (uncropped) image.  However, the image that is saved to the phone is only the top 800x480 corner of the image.  What is wrong?  How do we save an image to the Camera Roll that is larger than the display area of the phone.  It seems like the only way to save the entire camera image is to resize it to fit the stage and then capture the stage into a bitmapData object.
    FILTERS
    If you apply any filters to the bitmapData object, the filter effects will display on the phone, but if the image is saved to the Camera Roll, then all the filters are lost and it only saves the original (unfiltered) image.
    FINGER FRIENDLY UI COMPONENTS
    Do they exist?
    ADDITIONAL NOTES
    The max image size that can be saved is 2039x2039 pixels on the HTC Evo.  Anything bigger than this resulted in a CameraRoll Error #1 (which there is no documentation for what that means ANYWHERE on the web).

  • HT4863 How can I increase the file size limit for outgoing mail. I need to send a file that is 50MB?

    How can I increase the file size limit for outgoing mail. I need to send a file that is 50MB?

    You can't change it, and I suspect few email providers would allow a file that big.  Consider uploading it to a service like Dropbox, then email the link allowing the recipient to download it.

  • FILE and FTP Adapter file size limit

    Hi,
    Oracle SOA Suite ESB related:
    I see that there is a file size limit of 7MB for transferring using File and FTP adapter and that debatching can be used to overcome this issue. Also see that debatching can be done only for strucutred files.
    1) What can be done to transfer unstructured files larger than 7MB from one server to the other using FTP adapter?
    2) For structured files, could someone help me in debatching a file with the following structure.
    000|SEC-US-MF|1234|POPOC|679
    100|PO_226312|1234|7130667
    200|PO_226312|1234|Line_id_1
    300|Line_id_1|1234|Location_ID_1
    400|Location_ID_1|1234|Dist_ID_1
    100|PO_226355|1234|7136890
    200|PO_226355|1234|Line_id_2
    300|Line_id_2|1234|Location_ID_2
    400|Location_ID_2|1234|Dist_ID_2
    100|PO_226355|1234|7136890
    200|PO_226355|1234|Line_id_N
    300|Line_id_N|1234|Location_ID_N
    400|Location_ID_N|1234|Dist_ID_N
    999|SSS|1234|88|158
    I would need a the complete data in a single file at the destination for each file in the source. If there are as many number of files as the number of batches at the destination, I would need the file output file structure be as follows:
    000|SEC-US-MF|1234|POPOC|679
    100|PO_226312|1234|7130667
    200|PO_226312|1234|Line_id_1
    300|Line_id_1|1234|Location_ID_1
    400|Location_ID_1|1234|Dist_ID_1
    999|SSS|1234|88|158
    Thanks in advance,
    RV
    Edited by: user10236075 on May 25, 2009 4:12 PM
    Edited by: user10236075 on May 25, 2009 4:14 PM

    Ok Here are the steps
    1. Create an inbound file adapter as you normally would. The schema is opaque, set the polling as required.
    2. Create an outbound file adapter as you normally would, it doesn't really matter what xsd you use as you will modify the wsdl manually.
    3. Create a xsd that will read your file. This would typically be the xsd you would use for the inbound adapter. I call this address-csv.xsd.
    4. Create a xsd that is the desired output. This would typically be the xsd you would use for the outbound adapter. I have called this address-fixed-length.xsd. So I want to map csv to fixed length format.
    5. Create the xslt that will map between the 2 xsd. Do this in JDev, select the BPEL project, right-click -> New -> General -> XSL Map
    6. Edit the outbound file partner link wsdl, the the jca operations as the doc specifies, this is my example.
    <jca:binding  />
            <operation name="MoveWithXlate">
          <jca:operation
              InteractionSpec="oracle.tip.adapter.file.outbound.FileIoInteractionSpec"
              SourcePhysicalDirectory="foo1"
              SourceFileName="bar1"
              TargetPhysicalDirectory="C:\JDevOOW\jdev\FileIoOperationApps\MoveHugeFileWithXlate\out"
              TargetFileName="purchase_fixed.txt"
              SourceSchema="address-csv.xsd" 
              SourceSchemaRoot ="Root-Element"
              SourceType="native"
              TargetSchema="address-fixedLength.xsd" 
              TargetSchemaRoot ="Root-Element"
              TargetType="native"
              Xsl="addr1Toaddr2.xsl"
              Type="MOVE">
          </jca:operation> 7. Edit the outbound header to look as follows
        <types>
            <schema attributeFormDefault="qualified" elementFormDefault="qualified"
                    targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/file/"
                    xmlns="http://www.w3.org/2001/XMLSchema"
                    xmlns:FILEAPP="http://xmlns.oracle.com/pcbpel/adapter/file/">
                <element name="OutboundFileHeaderType">
                    <complexType>
                        <sequence>
                            <element name="fileName" type="string"/>
                            <element name="sourceDirectory" type="string"/>
                            <element name="sourceFileName" type="string"/>
                            <element name="targetDirectory" type="string"/>
                            <element name="targetFileName" type="string"/>                       
                        </sequence>
                    </complexType>
                </element> 
            </schema>
        </types>   8. the last trick is to have an assign between the inbound header to the outbound header partner link that copies the headers. You only need to copy the sourceDirectory and SourceGileName
        <assign name="Assign_Headers">
          <copy>
            <from variable="inboundHeader" part="inboundHeader"
                  query="/ns2:InboundFileHeaderType/ns2:fileName"/>
            <to variable="outboundHeader" part="outboundHeader"
                query="/ns2:OutboundFileHeaderType/ns2:sourceFileName"/>
          </copy>
          <copy>
            <from variable="inboundHeader" part="inboundHeader"
                  query="/ns2:InboundFileHeaderType/ns2:directory"/>
            <to variable="outboundHeader" part="outboundHeader"
                query="/ns2:OutboundFileHeaderType/ns2:sourceDirectory"/>
          </copy>
        </assign>you should be good to go. If you just want pass through then you don't need the native format set to opaque, with no XSLT
    cheers
    James

  • JVM heap size limit under Windows

    Hi,
    I'm looking either for some help with a workaround, or
    confirmation that the information I've found is still the case for the
    current state of Java.
    Development machine is Win XP Pro, 2G RAM.
    Biggest heap I can allocate is about 1.6G, and that is not large enough for this
    app.
    I have a Swing application that
    1) must run on Win XP, 32 bit
    2) must implement an editor (similar to Excel but with fewer features) to handle large csv files
    ( up to about 800Mb).
    3) Strong preference for Java 5, though higher could conceivably be supported.
    Research so far tells me that this is the result of process memory limitations
    of Windows and the JVM, and that I might be able to squeeze a little more heap with
    Windows' rebase command, but probably not enough and I would start running the
    risk of conflicts with other applications on my users' systems. Ugh.
    Also I read of the Windows /3GB switch, but posts say that the JDK's available are not
    built to be able to use that feature. I havent had a chance to add memory to
    test that yet. However, I'm also under the impression that I should be able to
    allocate a heap larger than physical RAM ... except for that process size limit.
    So ... my information is basically that I'm stuck with a limit of about 1.6G for
    heap size, regardless of the RAM on my computer.
    Can anyone confirm whether that is still correct, preferably with a pointer to some
    official reference ?
    Or better yet, point me toward a workaround?
    Thanks!
    -tom

    >
    Some bookmarks I have on this topic.
    http://sinewalker.wordpress.com/2007/03/04/32-bit-windows-and-jvm-virtual-memory-limit/
    http://stackoverflow.com/questions/171205/java-maximum-memory-on-windows-xp
    The first link pulled together what I found in lots of bits and pieces elsewhere, nice to have a coherent summary :)
    The second link offered a bit of insight into the jvm that I hadn't seen yet .
    Thanks!

  • Message size limit

    Hi all,
    I have a question regarding the message size for the mapping:
    What is the size limit for messages when using the XSLT mapping methods?
    What are the maximum message sizes (if any) for the other methods like ABAP mapping, Graphical mapping, JAVA Mapping and XSLT Mapping (JAVA) ?
    Looking foward to hear from you:)
    Regards
    Markus

    Hi Markus,
    Just go through the belwo thread which talks about the same.
    Wat is the maximu size of data XI can handle
    Also go through the mapping performance which helps u in understanding the performance as well.
    Mapping Performance:
    /people/udo.martens/blog/2006/08/23/comparing-performance-of-mapping-programs
    Thnx
    Chirag
    Reward points if it helps.

  • S1000 Data file size limit is reached in statement

    I am new to Java and was given the task to trouble shoot a java application that was written a few years ago and no longer supported. The java application creates database files the user's directory: diwdb.properties, diwdb.data, diwdb.lproperties, diwdb.script. The purpose of the application is to open a zip file and insert the files into a table in the database.
    The values that are populated in the diwdb.properties file are as follows:
    #HSQL Database Engine
    #Wed Jan 30 08:55:05 GMT 2013
    hsqldb.script_format=0
    runtime.gc_interval=0
    sql.enforce_strict_size=false
    hsqldb.cache_size_scale=8
    readonly=false
    hsqldb.nio_data_file=true
    hsqldb.cache_scale=14
    version=1.8.0
    hsqldb.default_table_type=memory
    hsqldb.cache_file_scale=1
    hsqldb.log_size=200
    modified=yes
    hsqldb.cache_version=1.7.0
    hsqldb.original_version=1.8.0
    hsqldb.compatible_version=1.8.0
    Once the databsae file gets to 2GB it brings up the error meessage 'S1000 Data file size limit is reached in statement (Insert into <tablename>......
    From searching on the itnernet it appeared that the parameter hsqldb.cache_file_scale needed to be increased & 8 was a suggested value.
    I have the distribution files (.jar & .jnlp) that are used to run the application. And I have a source directory that was found that contains java files. But I do not see any properties files to set any parameters. I was able to load both directories into NetBeans but really don't know if the files can be rebuilt for distribution as I'm not clear on what I'm doing and NetBeans shows errors in some of the directories.
    I have also tried to add parameters to the startup url: http://uknt117.uk.infores.com/DIW/DIW.jnlp?hsqldb.large_data=true?hsqldb.cache_file_scale=8 but that does not affect the application.
    I have been struggling with this for quite some time. Would greatly appreciate any assistance to help resolve this.
    Thanks!

    Thanks! But where would I run the sql statement. When anyone launches the application it creates the database files in their user directory. How would I connect to the database after that to execute the statement?
    I see the create table statements in the files I have pulled into NetBeans in both the source folder and the distribution folder. Could I add the statement there before the table is created in the jar file in the distribution folder and then re-compile it for distribution? OR would I need to add it to the file in source directory and recompile those to create a new distribution?
    Thanks!

  • Size limit to jstrings passed as parameters?

    I have written a JNI bridge to enable faster Xalan XSLT processing. The pure Xalan-J code is just too slow on large files, and Xalan-C++ handles the same files much quicker, so I wrote a bridge which sends an inputXML and xslt string to Xalan-C++, and receives a string of the transformedXML back.
    My code works great until it processes a big file, and then the entire inputXML string never seems to get into the nativemethod. I can print it out in its entirety on the java side just prior to calling the native method, but printing in out immediately inside the native method stops partway through the string and then my java app just keeps using almost all of my processor indefinitely. I am wondering if this is some kind of jstring size limit I am hitting, or if I have a memory allocation problem that is just slowing the machine down a bunch. Here is the relevant code:
    Java:
    private native String getTransform(String input, String stylesheet);
    public void transform(Source xmlSource, Result outputTarget) throws TransformerException {
    System.err.println("Starting Transform at "+ System.currentTimeMillis());
    System.err.println("Doc:\n"+NativeSource.getSourceAsString(xmlSource));
    String output = getTransform(NativeSource.getSourceAsString(xmlSource), stylesheet);
    System.err.println("Finished Transform at "+ System.currentTimeMillis());
    C++:
    JNIEXPORT jstring JNICALL Java_com_endeca_edf_adapter_plugins_NativeTransformer_getTransform
    (JNIEnv *pEnv, jobject obj, jstring input, jstring xslt) {
    jclass cls = pEnv->GetObjectClass(obj);
    const char *theInputDocument = pEnv->GetStringUTFChars(input, 0);
    printf("%s", theInputDocument);
    any ideas? Thanks!

    I have changed my code to split large strings into arrays and then recreate the entire string inside the C++. This still works with small files, but large ones (with base-64 encoding) don't work, just churn away forever. I made sure to set the break size real small (1096 chars) so even the small file gets broken up. Here is the code:
    Java:
    * Native method using xalan to transform xml
    private native String getTransform(String[] input, String stylesheet);
    public void transform(Source xmlSource, Result outputTarget) throws TransformerException {
    log.info("Splitting Input at "+ System.currentTimeMillis());
    int size = 0;
    String input = NativeSource.getSourceAsString(xmlSource);
    //log.info("Input XML:\n"+input);
    int numParts = (int)Math.ceil(input.length()/MAX_JNI_STRING_LENGTH);
    log.info("Number of splits= "+numParts);
    String[] inputArray = new String[numParts];
    for(int i=0; i<numParts-1; i++) {
    inputArray[i] = input.substring(size, size+MAX_JNI_STRING_LENGTH);
    size += MAX_JNI_STRING_LENGTH;
    inputArray[numParts-1] = input.substring(size);
    log.info("Starting Transform at "+ System.currentTimeMillis());
    String output = getTransform(inputArray, stylesheet);
    log.info("Finished Transform at "+ System.currentTimeMillis());
    //log.info("Transform is\n"+output);C++:
    JNIEXPORT jstring JNICALL Java_com_endeca_edf_adapter_plugins_NativeTransformer_getTransform
    (JNIEnv *pEnv, jobject obj, jobjectArray inputArray, jstring xslt) {
    //jclass cls = pEnv->GetObjectClass(obj);
    jboolean copy = JNI_FALSE;
    printf("%s", "\ninside\n");
    std::stringstream inputStr;
    for(int i=0; i<pEnv->GetArrayLength(inputArray); i++) {
         jstring inputPart = (jstring)pEnv->GetObjectArrayElement(inputArray, i);
         inputStr << pEnv->GetStringUTFChars(inputPart, &copy);
    char * theInputDocument = new char[strlen(inputStr.str().c_str())];
    strcpy(theInputDocument, inputStr.str().c_str());
    // Below wasn't working on big files, so I had to break up the string
    //const char *theInputDocument = pEnv->GetStringUTFChars(input, &copy);
    if (theInputDocument == NULL) {
         return NULL; // Could be out of memory
    printf("%s", inputStr.str().c_str());
    printf("%s", theInputDocument);Seems like I am either misunderstanding the size issue, or a jobjectArray also has size limits, or something else is going on. Help?

  • Is there a practical size limit on JPEG format image files?

    I have noticed when working with Photoshop v7.0 on Windows XP that, when creating a JPEG format image file from a very large scanned image (more than 800 Mb, maybe), the .jpg file will usually be saved on disk at any of the possible compression ratios available, without any reported error, yet when the saved file is re-opened, an error is reported - something along the lines of "missing or corrupted end of file marker" - and the image cannot be loaded.
    If before saving the original image is substantially reduced in size, e.g. by reducing the resolution of the image, a viable JPEG format file can be created, which will subsequently load successfully, though technically with data loss.
    This appears to happen only with JPEG format files - PDF format files can be saved from the original image at similar JPEG compression ratios, without error on reloading.
    I do not know if this also occurs with any other Photoshop versions.  I am working with Adobe Photoshop v7.0 on Windows XP, although we are preparing to upgrade to CS (which version I don't know) in the near future, for different reasons to those which are detailed above.
    Does anyone know if there is a technical explanation for this behaviour?  Is there a file size limit for writing viable JPEG files (which Photoshop does not report as an error when exceeded)?
    Thanks

    Chris Cox wrote:
    Where did you get the idea that we weren't doing something about it?
    that's what I gathered from "JPEG cannot [...] in Photoshop (code difficult to replace)".
    But if you say this is in the works right now, that's good news indeed.
    Chris Cox wrote:
    And where did you get the idea that posts get deleted? (other than SPAM)
    Are you sure you're reading the same forum as the rest of us?
    That's what happened:
    The content you posted below was reported for abuse and removed by our
    moderators:
    Subject: Re: Is there a practical size limit on JPEG format image files?
    Posted: 4/29/11 9:11 AM
    Anyway, you gave an honest answer on this technical issue, Chris, and that's what counts.

Maybe you are looking for

  • Do you have a way that allows you to save attachments from multiple emails at the same time?

    I have thousands of emails that I have put into Thunderbird's Local Folders, but now would like others in to access the attachments and don't want to go email by email to save off the attachments, time is prohibitive, so was hoping there is a way to

  • Why can't I send emails after iOS5 upgrade of iPhone 3GS?

    Having upgraded to iOS5, my iPhone 3GS will receive but will no longer send emails.  The error message says that it cannot send mail because the recipient [named] was rejected by the server.  This happens whether I am trying to reply to an incoming m

  • How to Export Aperture Library for Use by Windows PC

    Hello and thanks in advance for your help. I have recently returned to using a Mac after years of PC use. I'm using Parallels for some apps that are PC only, an astronomy program, TheSky6, for example. One of the first things I did was purchase Apert

  • Convert Idoc into xml string

    Hi, We have Idoc to web service scenario. The real problem, web service has only one field named "STRING" I need to pass Idoc into xml format as shown below to this STRING. e.g. <ZQM_NOTIFICATION><QMNUM>000000006471</QMNUM><QMART>Z2</QMART><MATNR>000

  • Rented videos not loading?

    So I rented the 'movie of the week' and it downloaded. I pressed play & started to watch. Though approx 15mins into the film the movie just stops and a msg pops up saying "could not load movie" ... This happens at the exact same point every time! My