using .gif image in Active reports .i.e. in pdf it should display - pdf

I have a strange requirement , where the client wants a graphical logo which revolves to be printed on the reports. I am completely confused as on PDF can we display a .gif image. i gone through and found this. So, generating reports by active reports9 is it possible. Need assistance guys. If its not we need to inform as early as possible to client. If it possible how. Thanks in advance.

Displaying animated gif images in ActiveReports is not possible as of now.
Gifs could be loaded inside the Picture control in reports as simple images but the animation part for them is not supported currently.

Related

Auto Crop Picture From Scanned Document

i am working on a project where i have to scan a lot of pages (application form) where each form is attached (pasted with glue) with application picture. So, i need to get the picture (crop only the picture) from that scanned page/document.
I have attached a sample..
i can set the exact location on the document/image but few issues with that:
1. attached/pasted image is not on same size..
2. it may be not be pasted on same place on each form
3. it may be rotated slightly..
so, i am looking for some automated process that can take out the picture correctly regardless the above issues. i assume face detection may be the tool, but i am not sure about that..
so, it would be great if any one can help me with that?
thanks in advance
any help will be highly appreciated...

Extract screenshot or picture of portion of PDF using VBA or VB and Adobe SDK

I am currently using an excel macro (although I will switch to VB.NET if necessary) to loop through all of the text in a PDF and populate an array with certain portions of the text in the PDF (via the Adobe SDK and getPageNthWord). This part is working just fine, but now what I want goes a step further.
There are certain portions of the PDF where just grabbing the text isn't giving the full picture, and I'd like to see what more I can get. This is exactly the screenshot or snippet I am trying to get:
So, I know that I could use getPageNthWordQuads to find the coordinates for the words "Compliance Warning" and I could figure out a way to find the bottom right of the screen as well, but my problem starts there. After I get those coordinates what would I do with them? Can I zoom in the PDF to only see that portion and then take a screenshot? I already have the code for a screenshot of the activewindow, but I don't know how to scroll or zoom on a PDF.
Any help would be greatly appreciated. A fresh approach would be welcome as well. Thanks!
There are probably a number of approaches that would work - I don't know enough about your environment / constraints to know for sure which would work best. I'm assuming you are talking to Acrobat through OLE here.
1) You can open a window, get its AVPageView and ask it to zoom and move to where you want it to do your thing.
2) You can open a PDF document in one of your own windows using OpenInWindowEx and then grab the contents of that window (the advantage being that this window could be off screen).
3) You can use the DrawEx method (in AcroExch.PDPage) to render a specific portion of a page into your own window and then process that.

Adding a PDF field in Landscape document in c#

I am using PDF Clown for this purpose.
I wanted to add fields in PDF document. Actually I have successfully added fields in portrait PDF documents but doing the same in Landscape PDF documents is troubling.
Controls are placed vertically instead of horizontally.
Please help in this matter even if your proposed solution is using any other library. I will be very thankful.
Regards,
Mujtaba Panjwani
PS. I have tried PDFSharp.NET but that seems to have no support for creating fields and for iTextsharp, I am not sure.
iTextSharp should do the trick. Have a look at the many examples available on their website.

Looking for the better way to make a kind of PDF reader w/ iOS 3+

I'm trying to make an iPhone application which can read PDFs in full screen and follow links on PDFs, but I can't find the right way to do it.
First, I tried to use an UIWebView to read the PDF file, but it doesn't work exactly as I wanted (I was not able to fix the link problem).
The second solution was to use the Quartz API to read the PDF. I took a look at http://developer.apple.com/iphone/library/documentation/GraphicsImaging/Conceptual/drawingwithquartz2d/dq_pdf/dq_pdf.html, but i'm only able to print one page on the screen, and there is no way to jump to next pages.
Can someone help me ? I'm running out ideas :)
Thanks for your help
Quartz does not know how to change pages, click on links, etc. It only "draws" the PDF page you want - you will have to do all gestures by yourself (or use UIScrollView and such).
BTW, I guess your question is duplicated. Take a look at: Fast and Lean PDF Viewer for iPhone / iPad / iOs - tips and hints?

image colors in pdf files in vb.net

I'm creating a program to generate PDF files in VB.Net.
Everything is working fine except that the image is being displayed with a blue background while the image provided doesn't have any.
Following are the lines of code being used:
sColor = IIf(mvarEncodeASCII85, ToASCII85(ImgColor),
(System.Text.Encoding.GetEncoding(1252).GetString(ImgColor)))
What am I doing wrong?
There is not alot of details, but my first thougt is that it is .png-files or .gif-files.
Am I correct? In that case it may be an issue with adobe acrobat handling the transparent backgrounds.
As I said it's hard to say exactly without any further details.