Java માંથી TIFF એનોટેટ કરો


મફત અજમાયશ ડાઉનલોડ કરો

Java API માટે GroupDocs.Annotation વિશે

GroupDocs.Annotation for Java API એ એક લાઇબ્રેરી છે જે તમને PDF, Word અને Mac, Windows અથવા Ubuntu પરના અન્ય દસ્તાવેજોમાં એનોટેશન ઉમેરવા દે છે. GroupDocs.Annotation for Java એ ઈમેજો અને અન્ય વિવિધ દસ્તાવેજોમાંથી ટીકાઓ બનાવવા, ઉમેરવા, સંપાદિત કરવા, કાઢી નાખવા, કાઢવા અને નિકાસ કરવા માટે વ્યાપક સમર્થન સાથે એનોટેશનનું સંચાલન કરવા માટેનું મૂળ Java API છે. સમર્થિત દસ્તાવેજ ફોર્મેટ્સની સંપૂર્ણ સૂચિ તમે આ પૃષ્ઠ પર જોઈ શકો છો. આ લાઇબ્રેરી તમને માત્ર TIFF દસ્તાવેજ સાથે જ નહીં પરંતુ અન્ય ઘણા પ્રકારના દસ્તાવેજો જેમ કે Word, Excel, PowerPoint, Outlook emails, Visio, Adobe, OpenDocument, OpenOffice, Photoshop, AutoCad અને અન્ય ઘણા બધા દસ્તાવેજો સાથે પણ કામ કરવાની મંજૂરી આપે છે. Java API માટે GroupDocs.Annotation તમને નવી નોંધો બનાવવા અને ઉમેરવા, ટીકાઓ સંપાદિત કરવા, ટિપ્પણીઓ, ટીકાઓ કાઢવા અને તેમને દસ્તાવેજોમાંથી દૂર કરવાની મંજૂરી આપે છે. લાઇબ્રેરી 13 વિવિધ એનોટેશન પ્રકારોને સપોર્ટ કરે છે, જેમાં ટેક્સ્ટ, પોલિલાઇન, એરિયા, અંડરલાઇન, પોઇન્ટ, વોટરમાર્ક, એરો, એલિપ્સ, ટેક્સ્ટ રિપ્લેસમેન્ટ, ડિસ્ટન્સ, ટેક્સ્ટ ફીલ્ડ, પીડીએફમાં રિસોર્સ રિડેક્શન, એચટીએમએલ, માઇક્રોસોફ્ટ વર્ડ ડોક્યુમેન્ટ્સ, સ્પ્રેડશીટ્સ, આકૃતિઓ, પ્રસ્તુતિઓ, રેખાંકનો, છબીઓ અને અન્ય ઘણા ફાઇલ ફોર્મેટ્સ. ઉદાહરણ (કૃપા કરીને નીચે જુઓ) TIFF દસ્તાવેજ સાથે કામ કરવાનું દર્શાવે છે, આ ઉદાહરણમાં તમે GroupDocs સાથે કેવી રીતે કામ કરવું તેનાં મુખ્ય પગલાં જોઈ શકો છો. એનોટેશન: લાઇસન્સ સેટ કરો, તમે જેની સાથે કામ કરવા માગો છો તે દસ્તાવેજ ખોલો, એક બનાવવું એનોટેશન, તમારી જરૂરિયાતો અનુસાર એનોટેશન પ્રોપર્ટીઝ સેટ કરવા માટે ડેટા ઑબ્જેક્ટ્સ ઉમેરીને અને પરિણામને જરૂરી જગ્યાએ સાચવો. તમે અમારા ગીથબ પૃષ્ઠ પર અથવા અમારા ઉત્પાદન દસ્તાવેજીકરણ.

Java માં TIFF માં ટીકા ઉમેરવાનાં પગલાં

GroupDocs.Annotation જાવા વિકાસકર્તાઓ માટે કેટલાક સરળ પગલાં અમલમાં મૂકીને કોઈપણ Java-આધારિત એપ્લિકેશનમાં TIFF ફાઈલોમાં વિવિધ એનોટેશન પ્રકારો ઉમેરવાનું સરળ બનાવે છે.

  • ટિપ્પણી અને તારીખ સાથે જવાબ આપો ઑબ્જેક્ટ્સ બનાવો.
  • એરિયા એનોટેશન ઑબ્જેક્ટ બનાવો, વિસ્તાર વિકલ્પો સેટ કરો અને જવાબો ઉમેરો.
  • એનોટેટર ઑબ્જેક્ટ બનાવો અને વિસ્તાર એનોટેશન ઉમેરો.
  • આઉટપુટ ફાઇલ સાચવો.

પ્રણાલીની જરૂરિયાતો

GroupDocs. Java API માટે એનોટેશન તમામ મુખ્ય પ્લેટફોર્મ્સ અને ઑપરેટિંગ સિસ્ટમ્સ પર સપોર્ટેડ છે. નીચે આપેલા કોડને અમલમાં મૂકતા પહેલા, કૃપા કરીને ખાતરી કરો કે તમારી પાસે તમારી સિસ્ટમ પર નીચેની પૂર્વજરૂરીયાતો ઇન્સ્ટોલ કરેલી છે.

  • ઓપરેટિંગ સિસ્ટમ્સ: માઇક્રોસોફ્ટ વિન્ડોઝ, લિનક્સ, મેકઓએસ
  • વિકાસ પર્યાવરણ: નેટબીન્સ, ઈન્ટેલિજ આઈડીઈએ, ગ્રહણ વગેરે
  • Java રનટાઇમ એન્વાયર્નમેન્ટ: Java 7 (1.7) અને તેથી વધુ
  • GroupDocs Artifact Repository માંથી Java માટે GroupDocs.Annotation નું નવીનતમ સંસ્કરણ મેળવો

ટીકા પૂર્વાવલોકન અને કોડ નમૂના

// Create an instance of Reply class and add comments
Reply firstReply = new Reply();
firstReply.setComment("First comment");
firstReply.setRepliedOn(Calendar.getInstance().getTime());

Reply secondReply = new Reply();
secondReply.setComment("Second comment");
secondReply.setRepliedOn(Calendar.getInstance().getTime());

List<Reply> replies = new ArrayList<Reply>();
replies.add(firstReply);
replies.add(secondReply);

// Create an instance of AreaAnnotation class and set options
AreaAnnotation area = new AreaAnnotation();
area.setBackgroundColor(65535);
area.setBox(new Rectangle(100, 100, 100, 100));
area.setCreatedOn(Calendar.getInstance().getTime());
area.setMessage("This is area annotation");
area.setOpacity(0.7);
area.setPageNumber(0);
area.setPenColor(65535);
area.setPenStyle(PenStyle.Dot);
area.setPenWidth((byte) 3);
area.setReplies(replies);

// Create an instance of Annotator class
Annotator annotator = new Annotator("input.bmp");

// Add annotation
annotator.add(area);

// Save to file
annotator.save("output.bmp");
annotator.dispose();

Annotation preview image

Java માં TIFF માંથી ટીકાઓ દૂર કરવાના પગલાં

GroupDocs.Annotation જાવા વિકાસકર્તાઓ માટે થોડા સરળ પગલાં અમલમાં મૂકીને કોઈપણ Java-આધારિત એપ્લિકેશનમાં TIFF ફાઈલોમાંથી ટીકાની વિગતો દૂર કરવાનું સરળ બનાવે છે.

  • ટિપ્પણી અને તારીખ સાથે જવાબ આપો ઑબ્જેક્ટ્સ બનાવો.
  • Instantiate SaveOptions ઑબ્જેક્ટ અને AnnotationTypes = AnnotationType.None સેટ કરો.
  • પરિણામી દસ્તાવેજ પાથ અથવા સ્ટ્રીમ અને SaveOptions ઑબ્જેક્ટ સાથે સેવ મેથડને કૉલ કરો.

// Create an instance of Annotator class 
Annotator annotator = new Annotator("C://input.bmp");

// Remove annotation by set type None 
SaveOptions saveOptions = new SaveOptions();
saveOptions.setAnnotationTypes(AnnotationType.None);

// Save annotation to output file
annotator.save("C://output.bmp", saveOptions);
annotator.dispose();

Java માં TIFF માંથી ટીકાઓ સંપાદિત કરવાનાં પગલાં

GroupDocs.Annotation જાવા વિકાસકર્તાઓ માટે થોડા સરળ પગલાં અમલમાં મૂકીને કોઈપણ Java-આધારિત એપ્લિકેશનમાં TIFF ફાઇલોમાંથી વિવિધ ટીકા ગુણધર્મોને અપડેટ કરવાનું સરળ બનાવે છે.

  • ઈનપુટ ડોક્યુમેન્ટ પાથ સાથે એનોટેટર ઑબ્જેક્ટને ઇન્સ્ટન્ટીએટ કરો અથવા ImportAnnotations = true સાથે ઇન્સ્ટન્ટિએટેડ LoadOptions સાથે સ્ટ્રીમ કરો.
  • કેટલાક એનોટેશનબેઝ અમલીકરણ બનાવો અને અસ્તિત્વમાં છે તે ટીકાનું આઈડી સેટ કરો (જો તે આઈડી સાથેની ટીકા મળી નથી, તો કંઈપણ બદલાશે નહીં) અથવા ટીકાઓની પાથ સૂચિ (બધી અસ્તિત્વમાં છે તે ટીકા દૂર કરવામાં આવશે).
  • પસાર થયેલી ટીકાઓ સાથે એનોટેટર ઑબ્જેક્ટની કૉલ અપડેટ પદ્ધતિ.
  • પરિણામી દસ્તાવેજ પાથ અથવા સ્ટ્રીમ અને SaveOptions ઑબ્જેક્ટ સાથે સેવ મેથડને કૉલ કરો.

String outputPath = "UpdateAnnotation.bmp";

// Create an instance of Annotator class
Annotator annotator = new Annotator("input.bmp");

// Create an instance of Reply class for first example and add comments
Reply reply1 = new Reply();
reply1.setComment("Original first comment");
reply1.setRepliedOn(Calendar.getInstance().getTime());

Reply reply2 = new Reply();
reply2.setComment("Original second comment");
reply2.setRepliedOn(Calendar.getInstance().getTime());

java.util.List replies = new ArrayList();
replies.add(reply1);
replies.add(reply2);

// Create an instance of AreaAnnotation class and set options
AreaAnnotation original = new AreaAnnotation();
original.setId(1);
original.setBackgroundColor(65535);
original.setBox(new Rectangle(100, 100, 100, 100));
original.setCreatedOn(Calendar.getInstance().getTime());
original.setMessage("This is original annotation");
original.setReplies(replies);

// Add original annotation
annotator.add(original);
annotator.save(outputPath);
annotator.dispose();

LoadOptions loadOptions = new LoadOptions();

// Open annotated document
Annotator annotator1 = new Annotator(outputPath, loadOptions);

// Create an instance of Reply class for update first example
Reply reply3 = new Reply();
reply3.setComment("Updated first comment");
reply3.setRepliedOn(Calendar.getInstance().getTime());

Reply reply4 = new Reply();
reply4.setComment("Updated second comment");
reply4.setRepliedOn(Calendar.getInstance().getTime());

java.util.List replies1 = new ArrayList();
replies1.add(reply3);
replies1.add(reply4);

// Suggest we want change some properties of existed annotation
AreaAnnotation updated = new AreaAnnotation();
updated.setId(1);
updated.setBackgroundColor(255);
updated.setBox(new Rectangle(0, 0, 50, 200));
updated.setCreatedOn(Calendar.getInstance().getTime());
updated.setMessage("This is updated annotation");
updated.setReplies(replies1);

// Update and save annotation
annotator1.update(updated);
annotator1.save(outputPath);
annotator1.dispose();

Java માં TIFF માંથી ટીકાઓ કાઢવાના પગલાં

GroupDocs.Annotation જાવા ડેવલપર્સ માટે થોડા સરળ પગલાઓ અમલમાં મૂકીને કોઈપણ Java-આધારિત એપ્લિકેશનમાં દસ્તાવેજોની ટીકા કરવી અને TIFF ફાઈલોમાંથી એનોટેશન માહિતી કાઢવાનું સરળ બનાવે છે.

  • ટિપ્પણી અને તારીખ સાથે જવાબ આપો ઑબ્જેક્ટ્સ બનાવો.
  • LoadOptions ઑબ્જેક્ટને ત્વરિત કરો અને સાચી દલીલ સાથે SetImportAnnotations કૉલ કરો.
  • પ્રકાર સૂચિ સાથે ચલ વ્યાખ્યાયિત કરો.
  • ગેટ મેથડ પર કૉલ કરો અને પરિણામ ઉપરના ચલ પર પાછા ફરો.

// For using this example input file ("annotated.bmp") must be with annotations
LoadOptions loadOptions = new LoadOptions();

// Create an instance of Annotator class and get annotations
final Annotator annotator = new Annotator("annotated.bmp", loadOptions);
List annotations = annotator.get();

દસ્તાવેજો અને છબીઓમાં ઍનોટેશન ઉમેરવા, દૂર કરવા, સંપાદિત કરવા, બહાર કાઢવા માટે લાઇવ ડેમો

હમણાં જ GroupDocs.Annotation Live Demos વેબસાઇટની મુલાકાત લઈને TIFF ફાઇલમાં ઍનોટેશન ઉમેરો, દૂર કરો, સંપાદિત કરો અને બહાર કાઢો. લાઇવ ડેમોના નીચેના ફાયદા છે

API ડાઉનલોડ કરવાની જરૂર નથી

કોઈ કોડ લખવાની જરૂર નથી

ફક્ત સ્રોત ફાઇલ અપલોડ કરો

ફાઇલ સાચવવા માટે ડાઉનલોડ લિંક મેળવો

TIFF ફાઇલ ફોર્મેટ વિશે

TIFF અથવા TIF, ટૅગ કરેલ ઇમેજ ફાઇલ ફોર્મેટ, રાસ્ટર છબીઓનું પ્રતિનિધિત્વ કરે છે જે આ ફાઇલ ફોર્મેટ સ્ટાન્ડર્ડનું પાલન કરતા વિવિધ ઉપકરણો પર ઉપયોગ માટે છે. તે બાઈલેવલ, ગ્રેસ્કેલ, પેલેટ-કલર અને ફુલ-કલર ઈમેજ ડેટાને વિવિધ કલર સ્પેસમાં વર્ણવવામાં સક્ષમ છે. તે ફોર્મેટનો ઉપયોગ કરીને એપ્લિકેશન માટે જગ્યા અને સમય વચ્ચે પસંદગી કરવા માટે નુકસાનકારક તેમજ લોસલેસ કમ્પ્રેશન સ્કીમ્સને સપોર્ટ કરે છે. ફોર્મેટ એક્સ્ટેન્સિબલ છે અને તેમાં અનેક સંશોધનો થયા છે જે અમર્યાદિત માત્રામાં ખાનગી અથવા વિશેષ-ઉદ્દેશની માહિતીનો સમાવેશ કરવાની મંજૂરી આપે છે. ફોર્મેટ મશીન પર આધારિત નથી અને પ્રોસેસર, ઓપરેટિંગ સિસ્ટમ અથવા ફાઇલ સિસ્ટમ્સ જેવી સીમાઓથી મુક્ત છે.

વધુ વાંચો TIFF ફાઇલ ફોર્મેટ વિશે

અન્ય લોકપ્રિય દસ્તાવેજ ફોર્મેટ સાથે કામ કરવું

નીચે જણાવ્યા મુજબ કેટલાક લોકપ્રિય ફાઇલ ફોર્મેટમાંથી ટીકા ગુણધર્મોને અપડેટ કરો.

Annotate PDF document

(Adobe Portable Document Format)

Annotate DOC document

(Microsoft Word Document)

Annotate DOCM document

(Microsoft Word Macro-Enabled Document)

Annotate DOCX document

(Microsoft Word Open XML Document)

Annotate DOT document

(Microsoft Word Document Template)

Annotate DOTX document

(Word Open XML Document Template)

Annotate RTF document

(Rich Text Document)

Annotate ODT document

(Open Document Text)

Annotate XLS document

(Microsoft Excel Binary File Format)

Annotate XLSX document

(Microsoft Excel Open XML Spreadsheet)

Annotate XLSM document

(Microsoft Excel Macro-Enabled Spreadsheet)

Annotate XLSB document

(Microsoft Excel Binary Worksheet)

Annotate ODS document

(Open Document Spreadsheet)

Annotate PPT document

(PowerPoint Presentation)

Annotate PPTX document

(PowerPoint Open XML Presentation)

Annotate PPSX document

(PowerPoint Open XML Slide Show)

Annotate POTM document

(Microsoft PowerPoint Template)

Annotate PPTM document

(Microsoft PowerPoint Presentation)

Annotate PPS document

(Microsoft PowerPoint 97-2003 Slide Show)

Annotate ODP document

(OpenDocument Presentation)

Annotate HTML document

(HyperText Markup Language)

Annotate TIFF document

(Tagged Image File Format)

Annotate PNG document

(Portable Network Graphic)

Annotate EML document

(E-mail Message)

Annotate MSG document

(Microsoft Outlook E-mail Message)

Annotate VSD document

(Microsoft Visio 2003-2010 Drawing)

Annotate VSDX document

(Microsoft Visio Drawing)

Annotate VSS document

(Microsoft Visio 2003-2010 Stencil)

Annotate VST document

(Microsoft Visio 2013 Stencil)

Annotate DWG document

(Autodesk Design Data Formats)

Annotate DXF document

(AutoCAD Drawing Interchange)

Annotate DCM document

(Digital Imaging and Communications in Medicine)

Annotate WMF document

(Windows Metafile)

Annotate EMF document

(Enhanced Metafile Format)

Back to top
 ગુજરાતી