Bitmap image won't show after converting HTML file to pdf
I have a program which saves a technical report as a HTML file. I don't have another choice as to file type to save as. This program has a template which generates the report....and there are fields which are filled in...some text fields, and one is a company logo. Just to be clear the logo itself is not in the template, a holding place is there which points to the location of the logo on my drive. This is all set up by the program and can't be altered.
If I save the logo as a jpg, png or tiff file, the logo shows up in the final HTML report and if I use Adobe Professional (version 7.0 on Win XP) to create a pdf the image also shows up - a perfect replica of the report is created in pdf, making it convenient for printing and email.
If I save the logo as a bitmap file (which creates a higher resolution and sharper looking logo) the logo shows up in the initial HTML technical report, but when I convert this to pdf the file is not found, instead it shows as a small square red box with the error "Bad file image" or "unable to download image".
I can't understand why this would be the case as the logo is saved in the same location whether it is jpg, png, tiff or bmp. It just seems that the Adobe Pro doesn't know how to "find" the bitmap logo from the HTML template.
I did try converting the HTML document to Word but it threw the formatting out and when it was converted to pdf it cropped the page & I wasn't able to resolve this...maybe it can be done but it is a long way around in any case, particularly if steps then need to be taken to correct the formatting.
At the moment the document can be printed with success from the original format - then it's a matter of scanning the printed document in order to email. It can't be emailed directly because of the embedded information which is lost if then sent to the recipient's computer. However it would be nice if the doc could be converted to pdf which would then make it easier to transfer the file to a backup drive or for email. Any ideas? Thanks
Thanks for your response. Yes I did mean .bmp files.
The problem is not getting it to show in HTML - but Adobe then picking it up from there. I guess though if it is not a standard format for HTML then maybe Adobe has trouble recognising it if it is there. Also, it is possible for Adobe to convert .bmp files if they are inserted in the HTML file, but I have instead a template with the code for the location of the file rather than the graphic itself. I don't have this problem using the other file formats and getting them into pdf...it's just that the images aren't as sharp as the bmp. I have tried various formats and resolutions so if there isn't a way I can get the bmp from the HTML file into pdf I might just have to live with printing and scanning from the original. Thanks for your input, it confirms what I was thinking. I'll leave this unanswered for now in case someone else has further information.
Similar Messages
-
After converting a file to *.pdf
After converting a file to *.pdf and saving it, how do you set the program to open this file automatically?
No, I want the file to open automatically, not to start the program on starting the computer. That way, I do not have to open the program, and open the file from the location just saved. Applies for any version of Adobe.
-
How to convert HTML files to PDF files.
Hi,
I have an urgent requirement explained below:
I need to convert my HTML files to PDF file from JAVA program.
Please help me with your suggestions.
Your help is highly appreciated.
Thanks &Regards
RamavardhanTry FOP and XSL style sheets. Although RPWithey is
correct that there is nothing to magically change a
viewable HTML file to PDF you can convert a single
HTML file to XML and use FOP to create a PDF. You will
need to manage the transition though.
If you want to change a random HTML file into PDF
dynamically this would take quite a bit more work. You
might be able to use JTidy to convert the HTML to XML
and then FOP to get to PDF but it will likely not be
formatted the way you wish.That's true - FOP does do that, doesn't it. It must have to make certain assumptions about the appearance of the output. If the output from the stylesheet is an HTML file, you might be able to bypass that bit altogether. I haven't really looked at FOP, although I've read the overview. Check it out at http://xml.apache.org/fop/index.html.
RObin -
Sliced Images are Broken after Converting HTML into a PDF
I am trying to create a PDF of a webpage and after Acrobat converts it, the page is broken apart in multiple pieces. I noticed that this is happening to images that are sliced. Does anyone know how to prevent this from happening?
Thanks!Just to clarify, I only want a PDF image of the web page -no functionality of it. The equivalent of a "print-screen" of the page without the IE window/toolbar etc. I need to have it in PDF format for printing purposes.
ASP code is also appearing in the PDF and I don't want this to occur.
Ver: Adobe Acrobat Professional
OS: WinXP Professional -
Adobe Acrobat 8.1 STD & MS Project 2007 crash after converting project files to PDF
Need some help. Currently I create complex projects schedules (3-7 pages in length) and then convert to a .PDF thru Adobe Acrobat 8.1STD and although it takes a little bit, it does create the .PDF file. However when I open in Adobe Reader and try to scroll pages, it crashes and closes out Adobe completely without any error message after about 5-10 seconds. I run MS Office 2007 Small Business and all other conversions in Excel and Word are working just fine, it is only between these two software packages. Any Suggestions??
AA STD 8.1.2 Correction, I do not have Reader (Only other Adobe products are Adobe Flash Player ActiveX and Adobe Shockwave Player) on my PC but when I open the PDF it does open in AA STD 8.1.2. Also, have tried this on other PC;s and same problem occurs and we e-mail these PDF's to our consultants and they are having the same problem whereby they are unable to scroll view thru the document/PDF and unable to print it out on their end.
-
Hi, I have trouble loading my iPhone 5 photos into Aperture. The iPhone icon appears in the import window, but the images won't show up in the loading window
The iPhone icon appears in the import window, but the images won't show up in the loading window
Do your images show, if you disable the option "Do not import duplicates"? If yes, then check, if the images have already been imported, eg. using Photo Stream, if you are using Aperture 3.3 or later.
Aperture 2, Mac OS X (10.6.8)
Is your profile signature above still current? -
I purchased the Adobe PDF Pack for $7.50/month (or $89.99/yr) but it won't allow me to convert any files to pdf or combine multiple files into 1 pdf form. It keeps saying "An error occurred while trying to access the service". WHY is this happening & How can I fix it?
Hi hpmg,
It seems you are trying to access the service via Adobe Reader. Make sure you are signed in with your Adobe ID. Is Reader updated to the latest patch v 11.0.09?
It might be possible that a firewall or antivirus might be breaking the connectivity from Reader to the server.
Try accessing the service from the browser: https://cloud.acrobat.com/exportpdf and check if that works for you.
Regards,
Rave -
How to convert html file to master file in sharepoint branding
How to convert HTML file to master file in SharePoint branding Programmatically
Hi,
According to your post, my understanding is that you want to convert HTML file to master file.
You can use Design Manager to achieve it.
On STEP 4 Edit Master Pages and clicked on the option at the top to
Convert an HTML file to a SharePoint master page.
Once completed, make sure the Status is set to Conversion Successful
For more information, please refer to:
SharePoint 2013 – Design Manager – Convert HTML to Master Page
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
Converting html file to csv file or excel file
Any body help me to convert html file into csv file or excel file using java.
I have no idea how to proceed.
is there any third party API's available.
Please guide me.
Thanks in advance
Vivekdev_vivek wrote:
I have no idea how to proceed.That could be due to the fact that there is no generic way to transform a html file into a csv or excel file.
Could it be that you're really interested in extracting specific values from the html file and then you want to export these values to csv and/or excel? -
Converting html file into zip file and send email attaching zip file
Hi Experts,
I am trying to send email with attachment(html). Which contains more than 7MB. So, It is throwing an error like Size exceeded.
So, Now i need to compress the data for less than 7MB.
I decided to convert HTML File into ZIP File.
Kindly suggest me to convert the HTML file into ZIP file and sending email with attached ZIP file.
Correct answer rewarded,
Thanks & Regards,
N. HARISH KUMARHi Experts,
*// HTML_TAB converting into ZIP File
DATA : zip_tool TYPE REF TO cl_abap_zip,
filename TYPE string ,
filename_zip TYPE string .
DATA : t_data_tab TYPE TABLE OF x255,
bin_size TYPE i,
buffer_x TYPE xstring,
buffer_zip TYPE xstring.
filename = text-007. "'HTML_TAB
*describe the attachment
DESCRIBE TABLE html_tab LINES tab_lines.
bin_size = tab_lines * 255.
CALL FUNCTION 'SCMS_BINARY_TO_XSTRING'
EXPORTING
input_length = bin_size
IMPORTING
buffer = buffer_x
TABLES
binary_tab = html_tab.
IF sy-subrc <> 0.
* message id sy-msgid type sy-msgty number sy-msgno
* with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
*create zip tool
CREATE OBJECT zip_tool.
*add binary file
CALL METHOD zip_tool->add
EXPORTING
name = 'FSSAI_MAIL.HTML'
content = buffer_x.
*get binary ZIP file
CALL METHOD zip_tool->save
RECEIVING
zip = buffer_zip.
CLEAR: t_data_tab[],bin_size.
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
buffer = buffer_zip
IMPORTING
output_length = bin_size
TABLES
binary_tab = html_tab.
Thanks & Regards,
N. HARISH KUMAR -
Help converting html/xhtml to pdf with bfo pdf lib or other tools?
Hi,
I need to convert from xhtml to pdf. I tried parsing it with xerces and crimson but wouldnt work. So the samples coming with big faceless pdf library dosent work. Is there any other method to convert html/xhtml to pdf - any libraries for direct conversion. BFO pdf report generator takes xml as i/p to convert to pdf.
Thanks for any helpLook here:
http://www.adobe.com/sea/products/server/pdfgenerator/ -
How to automatically close a file after converting it to a pdf file
I am downloading multiple html files and converting them to pdf files. Adobe Pro Create command or the command line when right-clicking in a web browser for Adobe will convert a html file to pdf but also opens them. How do I automatically close them to a designated folder?
Are you using the Adobe PDF printer or the Acrobat plugin to create the files?
-
How to batch convert Word files to pdf
How do I batch convert Word files to pdf using Automator
Here is a drag/drop AppleScript solution that uses the command-line LibreOffice capability to convert MS Word (.doc, .docx) files into PDF. Drag/Drop a single file, or a folder of Word documents, and it will write the respective PDF back to the original file location. When it is done, an OS X Notification will slide out onto the Desktop and provide the count of processed files.
Save this AppleScript as a Desktop application that remains open after running. If you ignore the latter, the notification will not show when it is done. Tested on Mavericks 10.9.5.
property name_extension : {"doc", "docx"}
global fileCnt
on open of finderObjects
set fileCnt to 0
repeat with i in (finderObjects)
if folder of (info for i) is true then
tell application "Finder" to set temp to (entire contents of i)
repeat with j in (temp)
process_files(j)
end repeat
else
process_files(i)
end if
end repeat
display notification "Processed Files: " & fileCnt with title "Word2PDF" subtitle "Processing Complete"
end open
on process_files(fname)
set cmd to "/Applications/LibreOffice.app/Contents/MacOS/soffice "
set cmdArgs to "--headless --convert-to pdf:writer_pdf_Export --outdir "
tell application "Finder"
set nameExt to name extension of fname
set outDir to do shell script "dirname " & POSIX path of (fname as alias)
if name extension of fname is in name_extension then
try
do shell script cmd & cmdArgs & outDir & space & POSIX path of (fname as alias)
set fileCnt to fileCnt + 1
on error errorMessage number errorNumber
display alert "Processing Error: " message "[ " & errorNumber & " ] " & errorMessage
error number -128
end try
end if
end tell
return
end process_files -
Hi all,
Please help me to solve this:
1) convert bmp file to PDF( using FM) .
2)There can be many such bmp files ..append them to single pdf file after converting them.
Thanks and Regards,
KCAs has been discussed many times here before, you can't really merge PDF files programmatically in ABAP after they have been created. Your best bet with this 'unique' requirement is to use a form-based approach I think.
With a smartform one approach is to create a single page with a window with a graphics node (dynamic name) in it, with the bitmap name specified in the form interface. Unless you have already loaded the bitmaps in the graphics manager (SE78), you would load the bitmaps at runtime from the presentation server or the application server and then create the graphics dynamically using the methods of class CL_BDS_DOCUMENT_SET prior to calling the form for each bitmap (a topic discussed recently in the ABAP forums or you can view how SE78 does it by checking the code). Create a merged spool and then use the standard function to convert the OTF data to PDF format.
A similar approach can be used with Adobe forms, but you would need to load the bitmaps to the web repository, not the graphics manager.
What exactly is in the bmp files and where are they stored? Are they form templates? You may get a better answer with more details. -
Error: EXOpenExport() while converting xlsb file to PDF
I am getting this error while converting .XLSB file to PDF using IBR :Step PDFExport forced conversion failure by conversion engine because of error: EXOpenExport() failed: no filter available for this file type (0x0004). Can anyone tell me how to resolve this issue.
Thanks in advance.Thank you for all your intrest.
The error message I get is... "an unexpected error occured. PDFMaker was unable to process the request".
When I then try to convert again, the system opens the ppt, but then does not do anything, and the error message does not show, for all presentations I try to convert.
I have also tried using the ribbon, but the button does not do anything once I have clicked.
I can print to PDF, but this provides an output which is not suitable, because it shows as if it each slide was printed on to paper and then put in PDF.
I have also uninstalled and reinstalled Acrobat to make sure nothing was corrupt.
Maybe you are looking for
-
Running a report from a pl/sql procedure
I'm trying to execute a report from a oracle procedure using UTL_HTTP.request and I keep getting a 'User-Defined Exception' error. Can anyone see what I'm doing wrong or have any other suggestions what might be wrong? Using Reports6i and Oracle 8.1.7
-
Hi! I work with Photoshop/Premiere Elements 10 on my snow leopard (10.6.8) without problems since years. Now I want to move over to the new MacBook Pro (and lion 10.7.5) but only Photoshop runs on it, every Premiere version (I downloaded Elements 12
-
Using trusted certificates to avoid
I have a certain presumption I wish to confirm. Presumption: When an SSL client attempts to make a connection to a remote host, once that connection is made, the client says (i.e, behaves as if he says), "I know what site I want to connect to. I have
-
Hi! Don't know if this is a ORACLE feature or not but... Here is my problem: I have an application that receive information from a source, process the data and input the result in a data warehouse. The problem is that sometimes the commit blocks, i.e
-
Can weblogic client takes empty arrays being returned.
Hi All: I am using weblogic 9.2 to generate the web service client code. Here is my build.xml file to build the java client code: > <project name="webservices-TEST" default="client"> <taskdef name="clientgen" classname="weblogic.wsee.tools.anttasks.C