Sign UpSign Up   Sign InSign In Welcome Guest,
Live Chat Live Chat

form.FillImageField image scaling issue

Last post 10-24-2007, 3:55 AM by cs. 13 replies.
Sort Posts: Previous Next
  •  09-06-2007, 8:57 AM 93773

    form.FillImageField image scaling issue

    Attachment: Present (inaccessible)

    I am having problems getting images to scale when filling image fields using form.FillImageField.

     

    My input PDF form was created using Adobe LiveCycle Designer 8.0.

     

    The three fields each use a different Object – Field – Sizing option.

     

    Field C1 uses “Scale Image Proportionally” - Resizes the image in the object, ensuring that the aspect ratio of the image is preserved.

     

    Field C2 uses “Scale Image to Fit Rectangle - Resizes the image to match the dimensions of the object. The aspect ratio of the image is not preserved.

     

    Field C3 uses “Use Original Size” - Does not resize the image. The object is resized to preserve the actual size of the image.

     

    The bitmap file C.bmp is used to fill all three fields.

     

    The attached zip file includes:

     

    1)    1D_in.pdf

    2)    C.bmp

    3)    code.txt

    4)    1D_out.pdf

     

    Thank-you

     

    Dovid Caplan

     

     
  •  09-06-2007, 2:12 PM 93824 in reply to 93773

    Re: form.FillImageField image scaling issue

    Hi,

    I have tested your code and was able to reproduce the error. I will discuss this with the developers and we will inform you about a solution as soon as one becomes available.

    Thanks.

     
  •  09-06-2007, 6:48 PM 93861 in reply to 93824

    Re: form.FillImageField image scaling issue

    Hi cs,

    You are quite right. At present, Form.FillImageField cannot support different scale setting. Sorry for the inconvenience. We will try to provide this feature ASAP, I hope the ETA is two weeks.

    Best regards.


    Luke Fu
    Product Developer
    Aspose Changsha Team
    About Us
    Contact Us
     
  •  09-07-2007, 2:20 AM 93896 in reply to 93861

    Re: form.FillImageField image scaling issue

    Thank you
     
  •  09-09-2007, 2:45 AM 94080 in reply to 93896

    Re: form.FillImageField image scaling issue

    Thank you for working on this ASAP.  This is critical for our business requirements, and we are working with a very tight schedule.  We look forward to hearing from you soon.

    Regards,

    cs

     
  •  09-09-2007, 9:41 AM 94099 in reply to 94080

    Re: form.FillImageField image scaling issue

    Dear cs,

    We are trying to solve this problem ASAP. I will inform you as soon as it finished.

    Best regards.


    Luke Fu
    Product Developer
    Aspose Changsha Team
    About Us
    Contact Us
     
  •  09-26-2007, 9:54 AM 96268 in reply to 94099

    Re: form.FillImageField image scaling issue

    Dear cs,

    This problem has been resolved. A new hotfix will be published at end of this month. Please notice our blog.

    Best regards.


    Luke Fu
    Product Developer
    Aspose Changsha Team
    About Us
    Contact Us
     
  •  10-04-2007, 12:24 PM 97364 in reply to 96268

    Re: form.FillImageField image scaling issue

    Thank you
     
  •  10-09-2007, 11:13 PM 98032 in reply to 97364

    Re: form.FillImageField image scaling issue

    Dear customer,

    The newest Hotfix v2.6.2.0 has been released, please download and test it.

    Best regards.


    Luke Fu
    Product Developer
    Aspose Changsha Team
    About Us
    Contact Us
     
  •  10-10-2007, 4:54 AM 98062 in reply to 98032

    Re: form.FillImageField image scaling issue

    Attachment: Present (inaccessible)

    I have tested the hotfix for this issue and have a few questions.

     

    I was expecting “Scale Image Proportionally” would scale the length and height of the image proportionally to each other. This seems to be what is now happening. The only question I have is why the full height of the image area is not being used?

     

    With “Scale Image to Fit Rectangle” I would expect the length and height of the image to be change independently of each other so that the image would fill the full rectangle. This is not happening.

     

    I would also assume that the “Use Original Size” image field should be fully filled with as much of the full size image that in can handle.

     

    I have attached code, input and output PDF files, and the graphic file.  

     

    Thank you

     

    Regards,

     

    Dovid Caplan

     
  •  10-10-2007, 10:13 AM 98099 in reply to 98062

    Re: form.FillImageField image scaling issue

    Dear cs,

    I would like to explain your doubt. I totally understood your requirement now. What I provided complied with Adobe Reader's implementation. If you fill you input file manully with Adobe Reader, you can see those images in output file did not fully occupy those fields.

    However, we decided to support your special requirement further. A boolean member will be added into Form class to indicate whether image fields should be fully occupied. This new feature will be finished in one week.

    Best regards.


    Luke Fu
    Product Developer
    Aspose Changsha Team
    About Us
    Contact Us
     
  •  10-10-2007, 12:54 PM 98123 in reply to 98099

    Re: form.FillImageField image scaling issue

    Thank You
     
  •  10-18-2007, 6:51 AM 99162 in reply to 98123

    Re: form.FillImageField image scaling issue

    Dear cs,

    A new hotfix was released. Please download and test it.

    Best regards.


    Luke Fu
    Product Developer
    Aspose Changsha Team
    About Us
    Contact Us
     
  •  10-24-2007, 3:55 AM 99856 in reply to 99162

    Re: form.FillImageField image scaling issue

    Thank you
     
View as RSS news feed in XML