itextsharp c# view pdf : Some pdf image extractor Library application class asp.net html winforms ajax dcpomatic2-part1358

6.3 ContentProperties
Belowthecontentlistarethecontrolstosetcontentproperties. Toadjustthepropertiesforapieceofcontent,click
itsnameinthecontentlist.Thecontentpropertycontrolswillthenbecomeactiveforthatpieceofcontent.
If youwanttochange the properties formultiplepieces of contentatthesame time, select the content inthelist
byclickingthefirstpiecethenclickingtheotherpieceswithshiftkeyhelddown. Notethatnotallsettingscanbe
changedinthisway.
Thecontentpropertiesaresplitupintofoursections: Video,Audio,SubtitlesandTiming.Notallofthesesectionswill
beactiveforallcontenttypes.Thecontrolsineachsectionaredescribedbelow.
6.4 Video
TheVideotabcontrolspropertiesoftheimage,asshowninFigure6.1.
Figure6.1: Videosettingstab
6.4.1 Imagetype
Thefirst optiononthistabis the‘type’ofthevideo. This s specifies howDCP-o-maticshouldinterpretthevideo’s
image. 2Dis s thedefault; ; this s just takes thevideo o image as s a a standard 2D frame. The e 3Dleft/rightoptiontells
DCP-o-matictointerprettheframeasaleft-rightpair,asshowninFigure6.2.
Some pdf image extractor - Select, copy, paste PDF images in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
Support PDF Image Extraction from a Page, a Region on a Page, and PDF Document
extract images from pdf file; extract image from pdf using
Some pdf image extractor - VB.NET PDF Image Extract Library: Select, copy, paste PDF images in vb.net, ASP.NET, MVC, Ajax, WinForms, WPF
Support PDF Image Extraction from a Page, a Region on a Page, and PDF Document
extract image from pdf java; how to extract images from pdf
Left
eye
image
Right
eye
image
width
width / 2
Figure6.2: 3Dleft/rightimagetype
Alternativelythe3Dtop/bottomoptiontellsDCP-o-matictoseetheframeasatop-bottompair,asshowninFigure6.3.
Left
eye
image
Right
eye
image
height
height / 2
Figure6.3: 3Dtop/bottomimagetype
Anotheroptionis 3Dalternatewhichtakesthefirstframeofthecontentasforthelefteye,thesecondfortheright
eye,thethirdfortheleft,andsoon. Finally,youcanspecify3Dleftonlyor3Drightonlyifthiscontentcontainsonly
thetheleftorrighteyeimages. Thisisusefulwhenyouhavetheleftandrighteyeimagesetsindifferentfiles;you
canspecifyonecontentas 3Dleftonlyandanotheras3Drightonly andDCP-o-maticwillpickuptheappropriate
framesfromeach.
6.4.2 Filtering
The‘filters’settings allow w youtoapply various s videofilters totheimage. These e maybe usefultotry toimprove
poor-qualitysourceslikeDVDs. YoucansetupthefiltersbyclickingtheEditbuttonnexttothefiltersentryinthe
setupareaoftheDCP-o-maticwindow;thisopensthefiltersselectorasshowninFigure6.4.
VB.NET PowerPoint: Extract & Collect PPT Slide(s) Using VB Sample
and we want to combine some pages of document 1 and some pages of to provide powerful & profession imaging controls, PDF document, image to pdf files and
extract vector image from pdf; extract photos from pdf
VB.NET TIFF: TIFF Text Extractor SDK; Extract Text Content from
they can retype the text content in some editable document Standalone VB.NET TIFF text extractor SDK that extracts control SDK into VB.NET image application by
extract jpg pdf; how to extract images from pdf files
Figure6.4:Filtersselector
Afterchangingthefilters setup,youwill l needtoregeneratetheDCPtoseethe effect onthecinemascreen. The
previewinDCP-o-maticwillupdateitselfwheneverfiltersarechanged,thoughofcoursethisimageismuchsmaller
andoflowerresolutionthanaprojectedimage!
6.4.3 Colourconversion
TheColour conversion setting specifies what t colour transforms and d gamma correctionDCP-o-matic c will use when
convertingtheselectedcontentintotheXYZcolourspacefortheDCP.
TheeasiestwaytoselecttherequiredconversionistochooseoneofDCP-o-matic’spresets.DCP-o-maticknowshow
toconvertfromfourcommoncolourspaces: sRGB,Rec. 601,Rec. 709andP3. Ifyoudonotknowwhichpresetyou
shoulduse,refertothesuggestionsinTable6.1.
sRGB
StillimagesinRGB,e.g.photographs
Rec.601
Standard-definitioncontent(fewerthanabout1000pixelsacross)includingDVDrips.
Rec.709
High-definitioncontentincludingBlu-Rayrips.
P3
ContentexplicitlygradedtoP3.
Table6.1: Suggestedcolourconversionsettings
Forotherrequiredcolourconversions,andifyouknowwhatyouaredoing,youcanchooseCustomwhichwillopen
thefullcolourconversioneditingdialoguebox:
VB.NET Word: Extract Word Pages, DOCX Page Extraction SDK
to combine some pages of document 1 and some pages of extracting feature, this VB.NET Word page extractor add-on sort Word page order or insert image into Word
extract image from pdf file; extract color image from pdf in c#
Figure6.5:Dialogueboxforcustomcolourconversion
Alternatively,chooseNoneifyoursourcefilesarealreadyintheXYZcolourspaceandrequirenoconversion.
DCP-o-matic’scolourconversionprocessesarediscussedinmuchmoredetailinaseparatedocumentcolour.pdf.
6.4.4 Othersettings
Thecropsettingscanbeusedtocropyourcontent,whichcanbeusedtoremoveblackbordersfromroundtheedges
ofDVDimages,forexample.Thespecifiednumberofpixelswillbetrimmedfromeachedge,andthecontentimage
intherightofthewindowwillbeupdatedtoshowtheeffectofthecrop.
Thefadeinandfadeoutsettingscanbeusedtoapplylinearfadesintoandoutofapieceofcontent.Specifythetime
foreach,clickingSetaftermakinganychanges.
TheScaletooptiongovernstheshapethatDCP-o-maticwillscalethecontent’simageinto. Selecttheaspectratio
thatyourcontentshouldbepresentedin.
6.4.5 Videodescription
At thebottomofthevideotabis ashortdescriptionofwhatwillhappentoyourvideowiththecurrentsettings.
Intheexampleof Figure 6.1,DCP-o-maticis telling youthat the videofileis 1920x1080pixels andit has square
pixels (apixelaspectratioof1.00) henceits display aspectratiois1.78:1. Sincethecontrols s specify‘16.9’for the
ratio,DCP-o-maticdoesnotscaletheimagebutpadsittotheDCP’scontainerratioof1.85:1. Fora2KDCPthis
is1998x1080pixels.
Thisdescriptionalsogivestheframerateofthecontentandwhatwillhappentoitwhenitis playedattheDCP’s
framerate.SeeChapter10fordetailsofDCP-o-matic’sframe-rateconversion.
6.5 Audio
TheAudiotabcontrolspropertiesoftheimage,asshowninFigure6.6.
Figure6.6:Audiosettingstab
6.5.1 Theaudiomap
Thesectionat thebottom ofthe audiotabis the‘audiomap’. This s governs how w soundfrom the contentwill be
arrangedintheDCP.
Downtheleft-handsideofthemapisthelistofaudiochannelsinthecurrently-selectedpieceofcontent. Theseare
labelledwithtwonumbers;thefirstisthestreamindexwithinthecontentandthesecondisthechannelnumberwithin
thatstream. Somecontentwillhavedifferentstreamsfordifferentlanguagesoraudiomixes. Alongthetopiseach
channelintheDCP.Agreenboxmeansthatthecorrespondingcontentchannelwillbecopiedintothecorresponding
DCPchannel.
WhencontentchannelsarecopiedintoDCPchannelstheycanbedonewithvariablegain.If,forexample,youwant
tocopyachannelas-is,youcansetagainof0dB.Alternatively,ifyouwanttomixtwochannelsintoone,youmay
wanttouseagainof-6dBoneachonetopreventclippingwhenthetwochannelsareadded.
Thegreenboxes oftheaudio o mappingviewtellyou(very roughly) ) howmuchgainis appliedto o eachchannel. A
full-heightboxmeans0dB(i.e. unity)gain. Anylessheightindicateslowergain.
Tomaponechanneltoanotherwith0dBgain,clickintheemptyboxanditwillturngreentoreflectthemapping.
Asecondclickwillturnthemappingbackoff.Tosetsomeothergain,right-clickontheboxtoopenthegainmenu.
ThisallowsyoutosetOff(nomappingornegativeinfinitygain),Full(0dBgain),-6dBgainorEditwhichallowsyou
tosettherequiredgainprecisely.
Consider,forexample,thecaseinFigure6.7.
Figure6.7:Audiomapexample1
Here,wehavetwochannelsinthesourcewhicharemappedtoleftandright,respectively,intheDCP.Thefullgreen
boxesshowthatthemappingisatunitygain(0dB)ineachcase.Imaginethatwemodifythesettingstothoseshown
inFigure6.8
Figure6.8:Audiomapexample2
Wenowhavethecontent’sstreamsmappedtoleftandrightandalsomixedtogetherandplacedintheDCP’scentre
channel. Thesmallergreenboxesonthecentremappingsshowthatthosechannelsareaddedwithsomenon-unity
gain;youcanseebyhoveringthemousepointeroverthoseboxesthatthegainforcontentchannels1and2is-6dB
whenbeingsenttothecentrechanneland0dBwhenbeingsenttoleftandright.
Figure6.9:Audiomapexample3
Asafinalexample,themapinFigure6.9showsthemappingofa5.1sourceintoa5.1DCP.
6.5.2 Othercontrols
‘AudioGain’isusedtoalterthevolumeofthesoundtrack. Thespecifiedgain(indB)willbeappliedtoeachsound
channelofyourcontentbeforeitiswrittentotheDCP.
IfyouuseasoundprocessorthatDCP-o-maticknowsabout,itcanhelpyoucalculatechangesingainthatyoushould
apply.Say,forexample,thatyoumakeatestDCPandfindthatyouhavetorunitatvolume5insteadofvolume7
togetagoodsoundlevelinthescreen. Ifthisisthecase,clicktheCalculate... buttonnexttotheaudiogainentry,
andthedialogueboxinFigure6.10willopen.
Figure6.10: Calculatingaudiogain
Forourexample,put5inthefirstboxand7inthesecondandclickOK.DCP-o-maticwillcalculatetheaudiogain
thatitshouldapplytomakethishappen.Thenyoucanre-maketheDCP(thiswillbereasonablyfast,asthevideo
datawillalreadyhavebeendone)anditshouldplaybackatthecorrectvolumewith7onyoursound-rackfader.
CurrentversionsofDCP-o-maticonlyknowabouttheDolbyCP650andCP750.Ifyouuseadifferentsoundprocessor,
andknowthegaincurveofitsvolumecontrol,getintouch.
AudioDelayisusedtoadjustthesynchronisationbetweenaudioandvideo. Apositivedelaywillmovetheaudiolater
withrespecttothevideo,andanegativedelaywillmoveitearlier.
6.6 Subtitles
Thesubtitlestabcontainssettingsrelatedtosubtitlesinyourcontent,asshowninFigure6.11.
Figure6.11:Subtitlesettingstab
DCP-o-maticcaneither:
• Extractsubtitlesthatareembeddedinvideofiles,or
• Use e subtitles s from SubRip (.srt), SubStationAlpha (.ssa) ) or DCP XML files. You u may y find d the e great t free
programSubtitleEditusefulforcreatingsuchfiles.
Embeddedsubtitlesareusually representedusingasetofbitmaps,especiallyonfiles thathavecomefrom DVDor
BluRay. Suchsubtitlescan(currently)onlybe‘burnt’intotheDCP(thatis,theyareincludedintheimageandnot
overlaidbytheprojector).
WithSubRip,SubStationAlphaorDCPsubtitlesyouhavethechoice toeitherburn-inorincludethesubtitlesas
separatesubtitle‘asset’withinyour DCP (inwhichcasetheprojectoroverlays them ontotheimageonplayback).
Thedifferencebetweenburn-inandoverlayisillustratedbyFigure6.12andFigure6.13.
Content
Video frame
Shapes were invented
in 1954.
Subtitle
Shapes were invented
in 1954.
DCP-o-matic merges
("burns in")
DCP
Figure6.12: Burnt-insubtitles
Content
Video frame
Shapes were invented
in 1954.
Subtitle
Subtitle is kept
separate from video
frame in DCP
DCP
Shapes were invented
in 1954.
Subtitle
Video frame
Projector
Shapes were invented
in 1954.
Projector merges
Figure6.13:Separatesubtitles
TheadvantageofseparatesubtitlesisthatthesamevideocontentcanbeusedforDCPsinmanydifferentlanguages.
Thismeansthatonlyasmalltextfileneedstobechangedforeachtargetlanguage,ratherthanalargevideofile.It
alsomeansthatthetime-consumingvideoencodingneedonlybedoneoncefortheprojectratherthanonceforevery
language.
SelecttheUseSubtitlescheck-boxtoenablethesubtitlesintheselectedcontent.
SelecttheBurnsubtitlesintoimagecheck-boxtoburnthesesubtitlesintotheimage;ifthisisnottickedthesubtitles
willbeincludedseparatelyintheDCPtoberenderedbytheprojector. Thischeck-boxwillalwaysbetickedifyou
areusingembedded‘image’subtitles.
The X Offset t andY Y Offset controls s move e the subtitles s around within the image. The e offsets are expressed d as a
percentageof the videoframe size; 100%Xoffsetistheentirewidthof theframe,and100%Y offset is theentire
height. Hence,tomovethesubtitlesdownbyhalftheframeheightyouwoulduseaYoffsetof50%.
TheXScaleandYScalecontrolsscalethesubtitles.Scalevaluesof1makethesubtitlesthesamesize(relativetothe
sizeoftheimage)astheyareontheoriginal. Valueslowerthan1makethemsmaller,andvalueshighermakethem
larger.YoucanstretchthesubtitlesineitherdirectionbyspecifyingdifferentvaluesforXandYscale.Subtitlesfrom
DVDandBluRaysourcesarefrequentlylarger(relativetothevideoframe)thanthosetypicallyusedforDCP,soit
isoftenusefultoscalesuchsubtitlesdownusingthesecontrols.
TheStreamcontrolchangesthesubtitlestreamthatisusedwhenthecontenthasmorethanone.
Ifyouareusingnon-embedded(text)subtitlesyoucanseethesubtitletextandtimingsbyclickingtheView...button,
orspecifythefontsthatshouldbeusedbyclickingFonts....
WithanysubtitlesyoucanclickAppearance... tochangehowthesubtitleslook.
6.7 Timing
Thetimingtabcontainssettingsrelatedtothetimingofyourcontent,asshowninFigure6.14.
Figure6.14: Timingsettingstab
Mostofthetimingtab’sentriesaretime-codes.Theseareexpressedasfournumbers,asshowninFigure6.15.
hours
minutes seconds frames
Figure6.15: Timecode
PositionisthetimeatwhichthispieceofcontentshouldstartwithintheDCP.Inmostcases,thiswillbe0:0:0:0to
makethecontentstartatthebeginningoftheDCP.
Fulllengthisthelengthofthepieceofcontent. Thiscanonlybesetforstill-imagecontent: forvideoorsoundcontent,
it is fixedbythenatureof thecontentfile. If f still-image content is beingusedyoucansetthelengthfor whichit
shouldbedisplayedusingthiscontrol.
Trimfromstartspecifiestheamountthatshouldbetrimmedfromthestartofthecontent.
Trimfromendspecifiestheamountthatshouldbetrimmedfromtheendofthecontent.
Playlengthindicateshowlongthispieceofcontentwillbeoncethetrimshavebeenapplied.Thiswillbeequaltothe
fulllengthminustrim-from-startandminustrim-from-end.
Videoframeratespecifiestheframerateforstill-imagecontent.Itcanalsobeusedtooverridethedetectedframerate
ofothercontentifDCP-o-matichasgotitwrong.
EachtimecodecontrolhasaSetwhichyoushouldclickwhenyouhaveenteredanewvalueforatimecode. TheSet
buttonwillmakeDCP-o-matictakeaccountofanychangestothecorrespondingtimecode.
6.8 Videoprocessingpipeline
ThissectiongivesalittlemoredetailabouthowDCP-o-maticprocess videoasittakesitfromasourceandputsit
intoaDCP.
Consider,as asomewhatover-the-topexample,thatwehavea720x576imagewhichisletterboxedwith36black
pixelseachatthetopandbottom,andthevideocontentwithintheletterboxshouldbepresentedintheDCPatratio
of2.39:1withina1.85:1frame(suchasmighthappenwithatrailer). ThesourceimageisshowninFigure6.16.
My scope image
36 pixels
36 pixels
Figure6.16: Exampleimagetodemonstratevideoprocessing
DCP-o-maticrunsthroughthefollowingstepswhenpreparinganimageforaDCP:
• Crop
• Scale
• Placeincontainer
First,someamountoftheimagecanbecropped. Thisis s almostalwaysusedtoremoveblackborders(letterboxing
and/orpillarboxing)aroundimages.
Inourexampleimage,wewoulduse36pixelsofcropfromthetopandbottom.Thiswouldgivethenewimageshown
inFigure6.17.
Documents you may be interested
Documents you may be interested