Image formats that can be used directly in PDF
Hi,
after severel hours of searching google, discussion boards and the PDF reference, I could not find an answer, so hopefully you guys can help me .
I have written my own little PDF exporter and want to include images. I figured out to include jpegs directly, with the DCTDecode filter.
Are there other image formats, which can be included in PDF directly?
I read somewhere, that GIFs - for example - has to be parsed to get the pixel data and than must be compressed again to be inserted in the PDF file. Therefore it would be easier for me to convert GIF to JPEG with an external program and then insert the JPEG into the PDF. Or is there an advantage, to include the GIF like described above?
What about BMP, TIFF and other image formats?
Is it possible to insert image files lossless into PDF?
I know, lots of questions but i would be really glad if someone can help me .
Thanks in advance,
Regards, Maecky
Hi,
thanks for your answer.
What exactly do you mean with "unwrap"? Should i just get the data without header of the image file and put it into the pdf stream? Otherwise i would have to decompress the format, or am I wrong?
Thanks,
kind regards, maecky
Similar Messages
-
Need to format a vpn log text file into a format that can be written directly to a SQL table
I am trying to do two thing inside of powershell
1. Take a vpnlog text file "C:\temp\ps3\vpnlogs\testlog.txt" formatted as such and be able to directly add the columns to a sql table
"Number" "Date" "Time" "Interface" "Origin" "Type" "Action" "Service" "Source Port" "Source" "Destination" "Protocol" "Rule"
"Rule Name" "Current Rule Number" "User" "Information" "Product" "Source Machine Name" "Source User Name"
"291" "29Nov2013" "23:59:00" "" "A*****" "Log" "Log In" "" "" "111.*.*.* " "A*****" "" "" "" "" "pet*******"
"VPN internal source IP: 192.*.*.*; reason: disconnected from gateway" "Security Gateway/Management" "" ""
2. Remove the empty colums in this text file so that I can then find a way to upload only colums that have a column name directly up to the sql table via a powershell script .
SO basically import txt file format it into colums that have data that can then be directly written to a sql table without me having to manually create the columns in the table. if this worked correctly the sql table would be uploaded with the colums and
data from sql.
I can do the upload portion with the below listed powershell command however when I import the following file into powershell I have to manually import the testlog.txt into excel then save as a csv to upload... not to mention I had to
manually create the columns in the sql table so that it imports correctly.
get-content "C:\temp\ps3\vpnlogs\testlog.txt" I can not get the data to format correctly without manually importing it into the logfiledata.csv.
$dt=Import-Csv-Path"C:\temp\ps3\vpnlogs\logfiledata.csv"|Out-DataTable
Write-DataTable -ServerInstance"myserver"-Database"mydata"-TableName"dbo.VPNLOGS"-Data$dt
I also have tried this to format the text file but it's not working the way I thought it should, but I don't want to have to create the .CSV file if I can avoid it I would rather take the data in powershell formatted and use the colums to
get-content"C:\temp\ps3\vpnlogs\testlog.txt"|Foreach-Object{
($_
-replace'"',',')
} |Set-Content"C:\temp\ps3\vpnlogs\testlog2.csv"
| Import-Csv
"C:\temp\ps3\vpnlogs\testlog2.csv"|selectNumber,date,time,interface,origin,type,action,service,"source
port",source,destination,protocol,rule,"rule
name","current
rule number",user,information,product,"source
machine name","source
user name"
"Number" "Date" "Time" "Interface" "Origin" "Type" "Action"
"Service" "Source Port" "Source" "Destination" "Protocol" "Rule" "Rule Na
me" "Current Rule Number" "User" "Information" "Product" "Source Machine Name" "Source User Name"
"473" "4Dec2013" "23:59:01" "" "AAMESXF604" "Log" "Log In" "" "" "ip72-198-30-53.ok.ok.cox.net" "AAMESXF604" "" "" ""
"" "usthompst"Thank you Mjolinor this seems to have given me a good output, now do you know of a method using the out-datable and write-datatable that I can use to directly upload the objects and data. Really I do not want to have to create another file at this
point I would like to take all of this info and now write it directly to my SQL-Table...
TypeName: Selected.System.Management.Automation.PSCustomObject
Name MemberType Definition
Equals Method bool Equals(System.Object obj)
GetHashCode Method int GetHashCode()
GetType Method type GetType()
ToString Method string ToString()
Action NoteProperty System.String Action=Log In
Current Rule Number NoteProperty System.String Current Rule Number=
Date NoteProperty System.String Date=4Dec2013
Destination NoteProperty System.String Destination=******
Information NoteProperty System.String Information=VPN internal source IP: *.*.*.*; reason: disconnected from gateway
Interface NoteProperty System.String Interface=
Number NoteProperty System.String Number=473
Origin NoteProperty System.String Origin=********
Product NoteProperty System.String Product=Security Gateway/Management
Protocol NoteProperty System.String Protocol=
Rule NoteProperty System.String Rule=
Rule Name NoteProperty System.String Rule Name=
Service NoteProperty System.String Service=
Source NoteProperty System.String Source=ip*-*-*-*.ok.ok.cox.net
Source Machine Name NoteProperty System.String Source Machine Name=
Source Port NoteProperty System.String Source Port=
Source User Name NoteProperty System.String Source User Name=
Time NoteProperty System.String Time=23:59:01
Type NoteProperty System.String Type=Log
User NoteProperty System.String User=******* -
Sample XML format that can be used to write a SELECT query
Hello,
I want to use and XML file in the scenario FILE to JDBC where i use the operation as SELECT in which i want to embbed an sql statemnet which is equivalent to
SELECT EMPNO, NAME FROM EMPLOYEE WHERE EMPNO>1
as in the form of XML format like,
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_JDBC_SELECT_JDBC_REQ xmlns:ns0="http://JDBC_SELECT">
<STATEMENT>
<TABLENAME ACTION="SELECT">
<TABLE>EMPTEST</TABLE>
<ACCESS>
<EMPNO></EMPNO>
<NAME></NAME>
</ACCESS>
<KEY>
<EMPNO compareOperation="GT">1</EMPNO>
</KEY>
</TABLENAME>
</STATEMENT>
</ns0:MT_JDBC_SELECT_JDBC_REQ>
Can i do like this?
PLease help me out in using various conditions in the XML file formats like the above.
Thanks,
Soorya.Hello raj,
I would like to write the query in that format where i mentioned as,
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_JDBC_SELECT_JDBC_REQ xmlns:ns0="http://JDBC_SELECT">
<STATEMENT>
<TABLENAME ACTION="SELECT">
<TABLE>EMPTEST</TABLE>
<ACCESS>
<EMPNO></EMPNO>
<NAME></NAME>
</ACCESS>
<KEY>
<EMPNO compareOperation="GT">1</EMPNO>
</KEY>
</TABLENAME>
</STATEMENT>
</ns0:MT_JDBC_SELECT_JDBC_REQ>
without giving clear SQL statement as you mentioned here like,
<ns0:MT_JDBC_SELECT_JDBC_REQ xmlns:ns0="http://JDBC_SELECT">
<STATEMENT>
<TABLENAME ACTION="SQL_QUERY">
<ACCESS>SELECT EMPNO, NAME FROM EMPLOYEE WHERE EMPNO > '$EMPNO$</ACCESS>
<KEY>
<EMPNO>1</EMPNO>
</KEY>
</TABLENAME>
</STATEMENT>
</ns0:MT_JDBC_SELECT_JDBC_REQ>
Thanks,
Soorya -
Converting files to a format that can be used in FCE HD
I am trying to make a home movie. I downloaded a disney movie that I want to use clips from as part as my home movie. With the file in its current format XXX.m4v I can't do it? Any suggestions on how I can get around this?
FCE only works in DV or HDV, either NTSC or PAL. If the material is small, web format video, it'll have to be scaled up to conform to DV, and it will look pretty ugly.
-
I am using LR 4.1, CS6, on a PC running Windows 7. Creative Cloud will accept dng's, but Adobe Touch will not. I'd hate to have to re-save lots of photos one at a time. (I'm not generally all that happy with dng format--it makes some files unreadable elsewhere, and any work done on a dng results in its being saved as a psd anyway.)
Thanks for any ideas.
Gail1. Proprietary formats such as NEF and CR2 are secret.
2. The universal DNG is an open format.
By all means stick to the raw files produced by your camera if you intend to do your editing in the software provided by your camera manufacturer. If you do all your editing in Adobe software DNG, imho is a better workflow choice.
For archiving purposes I would sooner trust Adobe for future support on DNG than individual camera makers who are known to change their raw formats. Also the benefit of embedded data and no sidecar files, plus fast load data (introduced for DNG’s in Lightroom 4) are clear advantages
If you want to use a tablet with Photoshop Touch tools such as layers, selection tools, adjustments, and filters then a PSD exported from DNG in light room will almost certainly produce an optimum sized file. Tiff will also support layers but the file size will usually be much bigger. -
System Image Restore Fails "No disk that can be used for recovering the system disk can be found"
Greetings
- Our critical server image backup Fails on one
server -
Two 2008 R2 servers. Both do a nightly "Windows Server Backup" of Bare Metal Recovery, System State, C:, System Reserved partition, to another storage hard drive on the same machine as the source. Active Directory is on the C: The much larger D: data
partition on each source hard drive is not included.
Test recovery by disconnecting 500G System drive, booting from 2008R2 Install DVD, recovering to a new 500G SATA hard drive.
Server A good.
Server B fails. It finds the backed-up image, & then we can select the date we want. As soon as the image restore is beginning and the timeline appears, it bombs with "The system image restore failed. No disk that can be used for recovering the system
disk can be found." There is a wordy Details message but none of it seems relevant (we are not using USB etc).
At some point after this, in one (or two?) of the scenarios below, (I forget exactly where) we also got :
"The system image restore failed. (0x80042403)"
The destination drive is Not "Excluded".
Used diskpart clean to remove volumes from destination drive. Recovery still errored.
Tried a second restore-to drive, same make/model Seagate ST3500418AS, fails.
Tried the earliest dated B image rather than the most recent, fail.
The Server B backups show as "Success" each night.
Copied image from B to the same storage drive on A where the A backup image is kept, and used the A hardware to attempt restore. Now only the latest backup date is available (as would occur normally if we had originally saved the backup to a network location).
Restore still fails. It looks like its to do with the image rather than with the hardware.
Tried unticking "automatically check and update disk error info", still fail.
Server A SRP 100MB C: 50.6GB on Seagate ST3500418AS 465.76GB Microsoft driver 6.1.7600.16385 write cache off
Server B SRP 100MB C: 102GB on Seagate ST3500418AS 465.76GB Microsoft driver 6.1.7600.16385 write cache off
Restore-to hard drive is also Seagate ST3500418AS.
http://social.answers.microsoft.com/Forums/en-US/w7repair/thread/e855ee43-186d-4200-a032-23d214d3d524 Some people report success after diskpart clean, but not us.
http://social.technet.microsoft.com/Forums/en-US/windowsbackup/thread/31595afd-396f-4084-b5fc-f80b6f40dbeb
"If your destination disk has a lower capacity than the source disk, you need to go into the disk manager and shrink each partition on the source disk before restoring." Doesnt apply here.
http://benchmarkreviews.com/index.php?option=com_content&task=view&id=439&Itemid=38&limit=1&limitstart=4
for 0x80042403 says "The solution is really quite simple: the destination drive is of a lower capacity than the image's source drive." I cant see that here.
Thank you so much.Hello,
1. While recovering the OS to the new Hard disk, please don't keep the original boot disk attached to the System. There is a Disk signature for each hard disk. The signature will collide if the original boot disk signature is assigned to the new disk.
You may attach the older disk after recovering the OS. If you want to recover data to the older disk then they should be attached as they were during backup.
2. Make sure that the new boot disk is attached as the First Boot disk in hardware (IDE/SATA port 0/master) and is the first disk in boot order priority.
3. In Windows Recovery Env (WinRE) check the Boot disk using: Cmd prompt -> Diskpart.exe -> Select Disk = System. This will show the disk where OS restore will be attempted. If the disk is different than the intended 2 TB disk then swap the disks in
correct order in the hardware.
4. Please make sure that the OS is always recovered to the System disk. (Due to an issue: BMR might recover the OS to some other disk if System disk is small in size. Here the OS won't boot. If you belive this is the case, then you should attach the
bigger sized disk as System disk and/or exclude other disks from recovery). Disk exclusion is provided in System Image Restore/Complete PC Restore UI/cmdline.
5. Make sure that Number and Size of disks during restore match the backup config. Apart from boot volumes, some other volumes are also considered critical if there are services/roles installed on them. These disks will be marked critical for recovery and
should be present with minimum size requirement.
6. Some other requirements are discussed in following newsgroup threads:
http://social.technet.microsoft.com/Forums/en-US/windowsbackup/thread/871a0216-fbaf-4a0c-83aa-1e02ae90dbe4
http://social.technet.microsoft.com/Forums/en-US/windowsbackup/thread/9a082b90-bd7c-46f8-9eb3-9581f9d5efdd
http://social.technet.microsoft.com/Forums/en-US/windowsbackup/thread/11d8c552-a841-49ac-ab2e-445e6f95e704
Regards,
Vikas Ranjan [MSFT]
------- This information is provided as-is without any warranties, implicit or explicit.------- -
What format i should use for my external hard drive that can be used interchangeably between mac and pc?
Usually Fat32/MS-DOS as mentioned, but that has several limitatiuns, like 4GB filesize limit.
One option is MacDrive for you PCs... allows them to Read/Write HFS+...
http://www.mediafour.com/products/macdrive/
More options...
NTFS-3G Stable Read/Write Driver...
http://www.ntfs-3g.org/
MacFUSE: Full Read-Write NTFS for Mac OS X, Among Others...
http://www.osnews.com/story/16930 -
Revision: 2216
Author: [email protected]
Date: 2008-06-24 13:34:15 -0700 (Tue, 24 Jun 2008)
Log Message:
Changed InterfaceCompiler to public so that it can be used directly for mxml parsing by other tools. Also change parseMxml to public.
Reviewed by: Paul
Modified Paths:
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.javaBefore I read this helpful post, I changed my Google search key words from "change location Firefox profiles" to "change path Firefox Profiles" and found this link: http://kb.mozillazine.org/Thunderbird_:_FAQs_:_Changing_Profile_Folder_Location. This brought me to the article "Moving Your Firefox Profile" which answered my question. Your suggested link would have ultimately led me to the same solution.
The problem was that I had copied my Firefox profile to the new location and then modified "profiles.ini" to point to the new location and saved it there as a replacement to the original "profiles.ini" that I had renamed "profiles.iniOld." Even though I had changed "IsRelative" from "=1" to "=0" I got error messages. I had used this procedure successfully before, but it would not work this time. When I used Profile Manager to move the Firefox Profiles everything worked fine the first time I tried it, and it took only a few minutes.
Thank you, cor-el. -
Is there a limit to no. of summary fields that can be used in a cross tab?
Hi,
While creating a cross tab is there a limitation to number of summarized fields that can be used?
- The cross tab when uses 184 fields as summary fields leads to Crystal report application to crash at the time of export to excel.
- Tried with two Datasources: XML and excel
- If we reduce the number of summary fields used to 102 exactly, export works fine in excel.
- If 2 cross tabs are used each containing 92 summary fields(in order to show 184) export to excel works fine.
Please let me know if there is any such limitation which leads to CR application to crash when exporting in excel?
Thanks
Regards,
NidhiI suggest you purchase a case and have a dedicated support engineer work with you directly:
http://www.sdn.sap.com/irj/boc/gettingstarted
Or
http://store.businessobjects.com/store/bobjects/Content/pbPage.CSC_map_countyselector/pgm.67024400?resid=jFmmLgoBAlcAAALO-iYAAAAP&rests=1278687224728
If this is a bug you'll get a refund, if not post your enhancement request in the Idea Place. Or the Rep will suggest a better way to create your report. -
Third party reporting tools that can be used with WLI 8.1
All:
I am working on Weblogic Integration 8.1. I am wondering are there any ready tools that can be used with WebLogic Integration process related tables to get different types of reports out of it.
Can somebody point me to these tools??
TIA,
Prashanth Bhat.Are you using ADE to read bought books, library books, or only free books?
If only free books, I suggest you install the superior free Calibre instead (http://calibre-ebook.com/)
For bought or library books you do need to install ADE on the new machine.
You will also need to register it with your Adobe ID; the same one you used on the last machine.
If you can't remember that ID or the password, ask, and we may be able to help.
I will give instructions for the latest version of ADE (2.0.1), even though I am afraid it has more problems than the old one it is more 'standard'.
Goto http://www.adobe.com/uk/products/digital-editions/download.html
Click on the 'Download Digital Edition 2.0.1 Windows (5.6 MB)' (you can go direct to http://download.adobe.com/pub/adobe/digitaleditions/ADE_2.0_Installer.exe if you prefer)
When it has downloaded you must open/run it. If you are using Internet Explorer, choose the Run option when you start the download.
It should now go through a fairly standard install procedure, asking if it is ok to run the program, etc etc
Take the easy 'yes' or equivalent option at each step.
When it is safely installed, run it. It should have put an icon on the desktop.
You now need to authorize ADE.
Use ctrl-shift-U which will open up a dialog asking for your Adobe ID and password.
You should now be able to use it pretty much as you used ADE on your old machine.
Good luck. Unfortunately not a very easy process even when all works well, and there are several things that can go wrong.
Don't hesitate to ask again if you need help. -
Any suggestions for programs that can convert mpeg1 to a format that can be edited in iMovie Version 8.0.6 (821) and/or iMovie HD Version 6.0.3 (267.2) Thanks
Hi Mark
Was just looking for the answer to this exact question and I just found something that worked for me so don't know if it might be of use to you or you might have already solved your problem! Basically when I was in iMovie and I clicked to import movies from the computer into iMovie and I found the clip I wanted to import, there are a few options. I think it asked which Event I wanted to add it to but most importantly it asked me what file size I wanted...I had originally been clicking Large because it advised me to because it reduces the file size...but just on a chance there I selected 'Full - Original' for size and it imported perfectly into iMovie in it's original vertical form!
Hope this helps!
Bianca -
Example of creating ALV double click event that can be used in ANY Program
Once you get the hang of OO you can really create useful generalized code that can be used in a huge number of situtations.
Double click on ALV is often wanted
Right here goes to implement a generalized double click action that returns the row, column and column name back to the caller.
In your CLASS in the DEFINITION part code as follows.
CLASS zcl_dog DEFINITION.
PUBLIC SECTION.
METHODS:
constructor
IMPORTING z_object type ref to zcl_dog,
i_parent type ref to cl_gui_custom_container,
PRIVATE SECTION.
on_dubbelklik FOR EVENT double_click OF cl_gui_alv_grid
IMPORTING e_row
e_column
es_row_no,
dubbleklik
IMPORTING
e_row type LVC_S_ROW
e_column TYPE LVC_S_COL
es_row_no type lvc_s_ROID
program type sy-repid.
code here any extra any methods you need.
In the CONSTRUCTOR method of the implementation
CLASS zcl_dog IMPLEMENTATION.
METHOD constructor.
CREATE OBJECT grid_container1
EXPORTING
container_name = 'CCONTAINER1'.
CREATE OBJECT grid1
EXPORTING
i_parent = grid_container1.
SET HANDLER z_object->on_user_command for grid1.
SET HANDLER z_object->on_toolbar for grid1.
SET HANDLER Z_OBJECT->handle_data_changed_finished FOR grid1.
SET HANDLER Z_OBJECT->on_dubbelklik FOR grid1.
endmethod.
METHOD on_dubbelklik.
CALL METHOD me->dubbleklik
exporting
e_row = e_row
e_column = e_column
es_row_no = es_row_no
program = sy-repid.
break-point 1.
method dubbleklik.
perform dubbleklik IN PROGRAM (program)
using
e_row
e_column
es_row_no.
ENDMETHOD.
endclass.
This will now perform a routine called dubbleklik in your application program whenever you double click a cell in the grid.
In the application program just code the following
DATA: z_object type ref to zcl_dog, "Instantiate our class
grid_container1 type ref to cl_gui_custom_container,
CREATE OBJECT z_object EXPORTING z_object = z_object.
call ANY method in the class which eventually displays the grid
CALL METHOD z_object->build_dynamic_structures
CHANGING it_fldcat = it_fldcat.
form dubbleklik using
e_row type LVC_S_ROW
e_column type LVC_S_col
es_row_no type lvc_s_roid.
break-point 1.
endform.
When you double click a cell you'should be at the break point in your routine in the application program.
You've got the cell that was clicked so by reading your table you can examine the data and take the appropriate action.
Cheers
JimboI suggest you purchase a case and have a dedicated support engineer work with you directly:
http://www.sdn.sap.com/irj/boc/gettingstarted
Or
http://store.businessobjects.com/store/bobjects/Content/pbPage.CSC_map_countyselector/pgm.67024400?resid=jFmmLgoBAlcAAALO-iYAAAAP&rests=1278687224728
If this is a bug you'll get a refund, if not post your enhancement request in the Idea Place. Or the Rep will suggest a better way to create your report. -
Hi. I can not use "direct selection tool".
Hi. I can not use "direct selection tools". When i click the direct selection tool, mouse like on image.
I use illustrator cs 6Thanks Monika, i am noob
-
How can I convert my other videos to a format that can be viewed on my iPod
How can I convert my other videos to a format that can be viewed on my iPod?
Martin Brossman
[email protected]Click here for instructions; if you find that the movies have no sound, download MPEG Streamclip and use it for the conversion.
(27741) -
When I sync my iphone 4S using iTunes it only syncs 8.5GB of music, not the entore library as specified. Is there a capcity default limit of the amount of storage that can be used for music and if so how do I change it?
The only limit is that of the device. No restrictions on how much of it you can use for music. Is part of your music library unchecked?
tt2
Maybe you are looking for
-
Two phones using the same apple id
I use the same apple ID for my daughters phone, hoever i do not want her to have my conatcts, etc... and vice versa but it has automatically copied them, how do i get rid of these and stop it happening?
-
My iPod touch 4th generation turns off by itself. How can I fix this?
My iPod Touch 4th generation turns off my itself. How can I fix this? This is not the first time this has happened. I usually hold down the home button and the power button at the same time for a few seconds and it'll turn back on but this time that
-
Mac mini and mouse: Curious bug
My Mac mini shows a quite curious bug. When I move the mouse while logging off an user - whether an admin or one with restricted rights - the mouse freezes. I have to log in and off again to make the mouse move again. I changed the mouses and re-inst
-
Hai Experts, I am trying to create Purchase requisition using BAPI BAPI_PR_CREATE. I have passed Header, Item,Account data and corresponding Headerx.......structures to my BAPI and when i am running my Bapi it is throughing error....."Enter Cost Cent
-
After building the open source SDK one ends up with a file named "SDK license.pdf". This file getra extracted from the AIR Integration Kit. Now my question is: Your source code is released under MPL -- but that license says that one is not allowed to