Announcement

Collapse
No announcement yet.

image in report pdf

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • image in report pdf

    Hello,
    I store some images in database, and would like to print them on pdf report.
    The image type is JPG, and the resolution is high for see it with a zoom on the form application.
    But when i print it on pdf report, it's huge. When i apply a width an height size on property of the field on pdf report, it's pixellized.
    How can I have a good resolution on the form (screen), and a good size on PDF?

    I try to use other format than JPG, but no-one is recognized...(pdf, SVG,...)
    The database is firebird, type blob image.

    Best regards,
    Olivier

  • #2
    Hello,

    Nobody has this problem??
    Best regards,
    Olivier

    Comment


    • #3
      Hello,

      It's good with "image in archive", not with image in database".
      Best regards,
      Olivier

      Comment


      • #4
        When you apply the height and width constraints it shrinks or stretches the image probably without maintaining the aspect ratio, thus the pixelation. Have you tried uploading a pre edited smaller image that matches the required dimensions? Also after you applied the height and width constraints does the image also show up pixelated on the form?

        Update: I just noticed there is an option to maintain aspect ratio. Have you set that to yes?
        Last edited by gamer99; 10-08-2013, 07:53 AM.

        Comment


        • #5
          HI there
          You said that you want to print your stored image on pdf report.If i were you ,i'd like to convert the image to pdf first.Then print the pdf files using a pdf program.That would be more convenient.
          I know there are many image program which supports to change the size of image.BTW,i want to know that if there is any image program which supports to work offline?
          Thanks for any suggestion.

          Comment


          • #6
            Originally posted by Nana111 View Post
            HI there
            You said that you want to print your stored image on pdf report.If i were you ,i'd like to convert the image to pdf first.Then
            convert the pdf files using a pdf program.That would be more convenient.
            I know there are many
            pdf conversion program which supports to change the size of image.BTW,i want to know that if there is any image program which supports to work offline?
            Thanks for any suggestion.
            Hi, Nana111.
            Thanks for your nice sharing. I wonder does the toolkit you mentioned above offer free trial package for users to check. Any suggestion will be appreciated. Thanks in advance.



            Best regards,
            Pan




            Comment


            • #7
              View the source of the pdf. There you will find the pdf commands. See this example: http://www.tcpdf.org/examples/example_009.phps
              sc also has a function for showing images in the pdf. I dont recall the name but it is similar. sc_pdf_image I think.
              You do not need to resize the image with an external program tc_pdf supports this by itself.

              Comment

              Working...
              X