Overview
Contains multiple Smart Services and Functions for interacting with PDF Documents.
Key Features & Functionality
Smart Services:
Functions:
Hi, Convert Image to PDF - Does any one know the list of image type it support? we tested with JPG,PNG,TIFF are working fine. It does not support iphone picture format HEIC. So i like to know limitation on the type.
Has anyone had any luck with the PDF to Image when there is an image and text? Trying to make an image from a PDF with an image and text but only pulling the image out of the PDF.
to me more dangerous than helpful. I my personal opinion an alert should be created in a prod environment if a node fails and this is done the best way with an error message and a failed node in a process model instance. If it runs to smooth there is a high chance you miss this behavior, that something was not like it supposed to be. So its in general not the worst way to do it, but i get where are you coming from, I see here rather an issue why there are many cvorrupted PDF files ;)
Hi,
Sometimes a tif image to pdf conversion fails to produce a pdf. Instead a blank pdf is produced or even more rarely a pdf is produced containing only part of the tif image.
The smart service does not produce any error output and shows as a success status of True.
Using v2.5.0 PDF Tools smart service Convert Image to PDF (pdftools.ConvertImageToPDFWithDpiInput) on Appian 23.4
The images can be opened in paint (for example) and successfully and completely printed using the Microsoft print to pdf printer.
Is there anyway to diagnose the issue further (logs, etc)?
Regards
To clarify, Allen and I are experiencing this issue in the "Fill PDF" process node.
I have a similar issue, but it appears to me that the plugin is no longer allowing PNG files. Error I received was Not a JPEG file. It was working great up until the Appian upgrade to 24.1
We have been using the 'Convert PDF to Image' smart service for a while to convert a PDF into a PNG with a transparent background. After we updated to the most recent version of this plugin, the PNG appears as a solid black image; it appears that the background is rendering as black instead of transparent. Is this a known issue?
I am getting below error with this version of the plugin. I have tried removing and re-installing the plugin. I am on Appian 23.4.
Unable to load class 'javax.imageio.ImageReadParam' because the bundle wiring for pdftools is no longer valid. at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1548) at org.apache.felix.framework.BundleWiringImpl.access$300(BundleWiringImpl.java:79) at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1986)
I am getting this error on above plugin version, Appian version is 23.4, Cloud.
Exception in thread "ThreadPoolTaskExecutor-62870" java.lang.NoClassDefFoundError: javax/imageio/ImageReadParam at com.github.jaiimageio.impl.plugins.tiff.TIFFImageReaderSpi.createReaderInstance(TIFFImageReaderSpi.java:118) at javax.imageio.spi.ImageReaderSpi.createReaderInstance(ImageReaderSpi.java:320) at javax.imageio.ImageIO$ImageReaderIterator.next(ImageIO.java:529) at javax.imageio.ImageIO$ImageReaderIterator.next(ImageIO.java:513) at com.appiancorp.ps.pdftools.ConvertImageToPDF.run(ConvertImageToPDF.java:77) at com.appiancorp.process.runtime.framework.DefaultActivityExecutor$1.lambda$call$0(DefaultActivityExecutor.java:136) at com.appiancorp.plugins.PluginUsageLogger.runWithPluginInformation(PluginUsageLogger.java:54) at com.appiancorp.process.runtime.framework.DefaultActivityExecutor$1.call(DefaultActivityExecutor.java:136) at com.appiancorp.process.runtime.framework.DefaultActivityExecutor$1.call(DefaultActivityExecutor.java:130) at com.appiancorp.common.ContextClassLoaderSwitcher.runInContext(ContextClassLoaderSwitcher.java:28) at com.appiancorp.process.runtime.framework.DefaultActivityExecutor.execute(DefaultActivityExecutor.java:130) at com.appiancorp.process.engine.UnattendedJavaActivityRequest.execute(UnattendedJavaActivityRequest.java:88) at com.appiancorp.process.engine.UnattendedJavaActivityRequestResponseCreator.getJavaActivityResultResponse(UnattendedJavaActivityRequestResponseCreator.java:22) at com.appiancorp.process.engine.UnattendedJavaActivityRequest.getJavaActivityResultResponse(UnattendedJavaActivityRequest.java:67) at com.appiancorp.process.engine.UnattendedJavaActivityRequest.execute0(UnattendedJavaActivityRequest.java:55) at com.appiancorp.common.persistence.data.AppianDataUserContextProvider.executeWithConsistentDataReads(AppianDataUserContextProvider.java:143) at com.appiancorp.process.engine.ProcessContinuationRequest.executeOuter(ProcessContinuationRequest.java:68) at com.appiancorp.process.engine.ContinuationRequest.execute(ContinuationRequest.java:129) at com.appiancorp.process.workpoller.UnattendedRequestHandlerBean.onMessage(UnattendedRequestHandlerBean.java:36) at com.appiancorp.process.workpoller.WorkItem.run(WorkItem.java:110) at org.springframework.jca.work.SimpleTaskWorkManager$DelegatingWorkAdapter.run(SimpleTaskWorkManager.java:241) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:750)Caused by: java.lang.ClassNotFoundException: Unable to load class 'javax.imageio.ImageReadParam' because the bundle wiring for pdftools is no longer valid. at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1548) at org.apache.felix.framework.BundleWiringImpl.access$300(BundleWiringImpl.java:79) at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1986) at java.lang.ClassLoader.loadClass(ClassLoader.java:351)