Introduction

Food packaging develops the shelf life of the packaged product and improves the quality and safety of foods by preventing the destruction of products and the growth of microorganisms [1, 2]. Due to the disadvantages of packaging films based on petroleum materials, biopolymers have attracted much attention because these natural biofilms, unlike synthetic films, are non-toxic, accessible, biodegradable, and eco-friendly. Biopolymer-based films can be made from various natural sources, including carbohydrates, proteins, lipids, or combinations [3, 4]. Among different biopolymers, gelatin is one of the most widely used protein-based biopolymers for producing biodegradable, edible films [5].

Gelatin is a biopolymer extracted from collagen, and its structure order is less than that of collagen. The properties of gelatin are highly dependent on its primary collage source and the methods of gelatin manufacture [6, 7]. This biopolymer has biocompatibility, biodegradability, low cost, non-toxic, strong hydrogen bonds, and good solubility in water. However, it has high degradability, water sensitivity, and low mechanical strength. Therefore, to prepare edible films based on gelatin, this biopolymer must be combined with other polymers, or suitable additives should be used in its formulation [8, 9]. The primary source of gelatin is extracted from the bones and skin of mammalian animals. However, due to the dangers of diseases related to pigs and cows and religious issues, attention has been focused on using gelatin-based marine sources such as fish gelatins [10, 11].

One of the effective methods to overcome the limitations of protein-based biopolymers is using cross-linking agents to formulate biopolymer-based edible films [12, 13]. The cross-linkers are compounds or agents that cause special chemical reactions in polymer solutions. Choosing a suitable cross-linker agent to improve the quality of biopolymers is very important because the agent used must not have health problems [14]. Various chemicals such as sulfuric acid, hydrochloric acid, and sodium hydroxide are commonly used to enhance the physical and mechanical properties and reduce the sensitivity to the moisture of biopolymer-based films. However, the use of these compounds has environmental issues and can be toxic to the consumer [15]. Nowadays, cross-linked compounds obtained from natural sources have attracted much attention because these compounds, especially phenolic acids, indicate remarkable antioxidant and antimicrobial activity and improve the functional properties of the biocomposite films [14]. Scientific research has shown that tannic acid and caffeic acid are two effective crosslinking agents for the gelatins. In addition to improving the mechanical strength of gelatin-based edible films, it causes antioxidant and antimicrobial activities in the biopolymer films [16, 17]. Tannic acid (TA) is a natural amphiphilic polymer that belongs to the group of phenolic acids. In its structure, hydrophilic hydroxyl groups are located in a hydrophobic macromolecular backbone [18]. TA can improve the physical properties and the strength of the biopolymer-based films by binding with the gelatin [19, 20]. This natural additive can modify the gelatin polypeptide network and increase the cross-linkages between the chains [21]. Caffeic acid (CA) is one of the secondary metabolites produced by plants, which is in the category of the phenolic compounds and has antioxidant and antimicrobial activities [22]. Various studies have been performed on the cross-linking of proteins using CA. The results showed that cross-linking between proteins and CA leads to the formation of covalent bonds and thus improves the mechanical properties of the protein-CA complex [23]. So far, various studies have been performed on the effect of natural cross-linking agents on the characteristicts of gelatins obtained from different sources, however, few studies have been conducted on the characterization of biocomposite films prepared with cross-linked gelatin with natural cross-linking agents and information in this area is limited. Therefore, this study aimed to investigate the effect of TA and CA at different levels of 1%, 3%, and 5% on improving the moisture resistance and mechanical strength of cold-water fish gelatin-based biocomposite films.

Materials and methods

Materials

Cold-water fish gelatin (CAS Number: 9000-70-8) was obtained from Sigma-Aldrich (St Louis, MO) without further treatment or purification. Tannic acid (TA), caffeic acid (CA), glycerol, sorbitol, and other chemicals were obtained from Merck Co. (Darmstadt, Germany).

Preparation of gelatin-based edible films with phenolic acids

To prepare the gelatin films, 5 g of cold-water fish gelatin was initially dissolved in 50 mL of deionized water at 60 °C. Tannic acid and caffeic acid were dissolved in a concentration of 1%, 3%, and 5% w/v in 50 mL of deionized water separately. The pH of solutions was adjusted above the 9 with NaOH 1.0 N. The solutions were then stirred continuously at 60 °C for 1 h. Oxygen was bubbled into the systems throughout the reaction, and a homogeneous solution was obtained [20]. The fish gelatin solution and the solutions of TA and CA were then mixed separately and placed on a magnetic stirrer for one hour in the same conditions as before. A mixture of sorbitol and glycerol (40% g/g dried gelatin) was added to the films as a plasticizer [24]. After cooling the film solutions at room temperature, a suitable volume of the solutions was cast onto Plexiglas plates with dimensions of 16 × 16 cm2 and a thickness of 2 mm. The plates containing film solutions were placed in an oven at 40 °C for 20 h to dry the films. The film samples were kept in a desiccator (at 20 ± 5 °C temperature and 50 ± 5% RH) before characterization.

Measurement of the film water solubility

To determine the solubility of gelatin films in water, the samples (2.5 × 2.5 cm) were first dried in an oven at 105 ± 2 °C for 24 h and were weighed (W1). The dried films were then placed in a container containing 50 mL of distilled water for 24 h. After this time, the samples were separated from the water by filter paper, and after drying in an oven at 105 ± 2 °C for 24 h, their weight was recorded (W2). The water solubility of film samples was calculated using the following equation [25]:

$${\text{Solubility }}\left( \% \right) = \frac{{{\text{W}}1 - {\text{W}}2}}{{{\text{W}}1}}{ } \times 100$$

Measurement of the film water absorption capacity (WAC)

The film samples (20 × 20 mm) were kept in calcium sulfate (at 0% RH) for 24 h. Then, the films were conditioned in a desiccator containing saturated calcium nitrite solution at 22 ± 2 °C. After that, the weight of the samples was measured at certain intervals of periods until reaching an equilibrium state. Finally, the water absorption capacity of the films was obtained using the following equation [26]:

$${\text{WAC }}\left( {\frac{{{\text{g}}\,{ }\,{\text{water}}}}{{{\text{g}}\,{ }\,{\text{dried }}\,\,{\text{film}}}}} \right) = \frac{{{\text{absorbed }}\,\,{\text{water }}\,\,{\text{weight}}}}{{{\text{dried}}\,\,{\text{ film}}\,{ }\,{\text{weight}}}}$$

Measurement of the film water vapor permeability (WVP)

The water vapor permeability of gelatin film samples was determined according to the ASTM E96-16 standard method [27]. The WVP test was done at room temperature (25 ± 3 °C). The test cup was filled with water, and the sample was cut to the cup size and placed on the cup using a dough. The cup was weighted and placed inside a desiccator (0% RH). Then, the cup was weighed every 2 h and continued until seven points. Then, the weight versus time graph was drawn, and it was used to determine the water vapour transmission rate (WVTR). The WVP of gelatin films was obtained using the following equation:

$$WVP = ~\frac{{{\text{WVTR}} \times {\text{average}}\,{\text{thickness}}}}{{{\text{water}}\,{\text{vapor}}\,{\text{pressure}}\,{\text{differences}}\,{\text{on}}\,{\text{both}}\,{\text{sides}}\,{\text{of}}\,{\text{the}}\,{\text{film}}\,{\text{surface}}}}$$

Measurement of oxygen permeability

The oxygen permeability of the gelatin films was determined using a Mocon Oxtran 2/21 system (Minneapolis, USA) according to the ASTM D3985-17 standard method [28]. Briefly, samples were conditioned at 25 °C and 55% RH for 48 h. Then the thickness of the film was measured and mounted into the equipment cell. Finally, the oxygen permeability of the gelatin film samples was determined using WinPermTM permeability software according to the convergent method.

Film color indexes measurement

To determine the color parameters of the gelatin film samples, including L* (lightness), a* (redness/greenness), and b* (yellowness/blueness), a colorimeter (Minolta CM-3500D; Minolta Co. Ltd., Osaka, Japan) was used [29]. Before determining the film samples’ color, the device was calibrated using the standard white screen. Total color changes (ΔE) of samples were calculated using the following equation:

$$\Delta E= \sqrt{({L}_{0}-{L}_{t}{)}^{2}+({a}_{0}-{a}_{t}{)}^{2}+({b}_{0}-{b}_{t}{)}^{2}}$$

Mechanical properties

Mechanical properties of gelatin films, including tensile strength (TS), Young’s modulus (YM), and elongation at the breakpoint (EB), were measured using the ASTM D 882–18 [30] method using a texture analyzer (Stable Micro Systems, Surrey, England). For each sample, three 50 mm × 150 mm strips were tested. Before the textural test, the film samples were conditioned at 25 °C at 55% relative humidity. The length of initial grip separation and the cross-head speed was 30 mm and 50 mm/min, respectively [30]. The textural test was performed in at least three replications.

Statistical analysis

The data obtained from the experiments were analyzed statistically using IBM SPSS software version 22.0 (IBM Corp., New York). One-way analysis of variance (ANOVA) and Duncan multi-range post hoc test were used to identify the significant difference between film samples at p < 0.05.

Results and discussion

Water solubility of the gelatin films

The water solubility amounts of cold-water fish gelatin films containing different levels of TA and CA are shown in Fig. 1. The incorporation of TA and CA into the formulation of gelatin-based film samples had a significant effect on the solubility of the produced films (p < 0.05). The control film had the highest percentage of water solubility (96.33%), similar to the amounts reported in research conducted by Araghi et al. [22]. Other researchers have also reported the high water solubility of fish gelatin [31]. Incorporation of TA and CA significantly reduced the water solubility of gelatin films which is related to the reaction of polymers with hydroxyl and carbonyl groups that causes the formation of hydrogen bonds or covalent bonds and the formation of cross-links and therefore reduces the water solubility of the polymers. Cross-linkers can reduce the number of polar groups of the films and thus reduce their hydrophilicity, thereby reducing the water solubility of the film [32]. With increasing the levels of these two phenolic acids in the film formulation, a decrease in the water solubility of the samples was also observed (p < 0.05). The effect of TA in reducing the solubility of films was more significant than CA, so the solubility of the films containing TA was in the range of 40.10–43.97%, and the films containing CA were in the range of 43.98–50.22%. Cao et al. [33] attributed the decrease in the combination of gelatin with water due to increased cross-linking due to incorporating phenolic compounds. Line with the results of the present study, Choi et al. [16] also reported a significant decrease in the solubility of turmeric-gelatin-based films due to the incorporation of tannic acid, caffeic acid, and green tea extract. Menezes et al. [19] achieved similar results in studying the effect of tannic acid on the solubility of fish skin gelatin-based films. In the study of Tammineni et al. [34], the effect of different levels of tannic acid on the characteristics of gelatin-based films was investigated, and the results indicated a significant impact of this phenolic acid in reducing the solubility percentage of gelatin films. In general, the solubility of the films depends on the amount and type of cross-linker and the method used to evaluate the water solubility of the films.

Fig. 1
figure 1

The water solubility (%) of the cold-water fish gelatin-based films contain different TA and CA levels. Bars represent mean (n = 3) ± SD. Different letters on the bars indicate significant differences at 5% level of probability among films. TA and CA represent tannic acid and caffeic acid, respectively

Water absorption capacity (WAC) of the gelatin films

Edible films used for food packaging must have good moisture resistance and indicate less water absorption capacity. The WAC amounts of the films depend on their polarity, porosity, molecular structure, degree of cross-linking, and molecular interactions [35]. Figure 2 shows the WAC amounts of the fish gelatin-based films containing different levels of TA and CA. The highest WAC was observed in the control film (58.45 g/g dry film), and cross-linking by incorporating different levels of TA and CA in the fish gelatin reduced the WAC of the produced films significantly (p < 0.05). The film samples containing TA had water absorption capacity amounts in the range of 46.09–49.49 g/g dried film, and the films containing CA ranged from 50.95 to 53.37 g/g dried film. As can be seen, TA had a more significant effect on reducing the WAC of gelatin films than CA. Polyphenolic acids have several hydroxyl groups in their structure. They cause molecular interactions with the hydroxyl and amine groups in the gelatin structure, thus, reducing the WAC amounts of the films [8]. In agreement with the present study results, previous studies indicated that using cross-linking compounds in gelatin-based films increases the resistance of films to water [36, 37]. Taheri et al. [8] and Ge et al. [38] also achieved similar results. They demonstrated that adding tannic acid and rosmarinic acid to the gelatin-based films reduced the WAC amounts of the films, respectively, and by increasing their levels in the films, a decrease in the WAC amounts was observed.

Fig. 2
figure 2

The water absorption capacity (g/g dried film) of the cold-water fish gelatin-based films containing different levels of TA and CA. Bars represent mean (n = 3) ± SD. Different letters on the bars indicate significant differences at 5% level of probability among films. TA and CA represent tannic acid and caffeic acid, respectively

Water vapour permeability (WVP) of the gelatin-based films

Food packaging materials with desirable barrier properties can improve packaging conditions by reducing moisture transfer between the food products and the surrounding environment [39]. In general, poor water vapour permeability of protein-based packaging films limits their use in food packaging. The WVP amounts of fish gelatin-based films containing different levels of TA and CA are given in Fig. 3. Incorporating phenolic acids as cross-linking agents into gelatin films indicated a significant effect on the WVP of films (p < 0.05). The highest WVP value was obtained in the control film (8.65 g/cm s Pa). Since the permeability to water vapor depends on the hydrophilic and hydrophobic nature of the films [40] and the transfer of water vapor is done by the hydrophilic parts of the films [41], the establishment of cross-linking by phenolic acid (TA and CA) in the structure of fish gelatin, by reducing the number of polar groups of the films, reduced the WVP. Increasing the levels of these phenolic acids in the gelatin films also significantly reduced the WVP values (p < 0.05). So that in both films cross-linked with TA and CA, the lowest WVP was observed at the level of 5% of these phenolic acids (5.87 and 7.09 g/cm s Pa, respectively). TA Due to the higher degree of cross-linking in gels containing TA than CA [42], the WVP of the films containing TA was lower than films containing CA. Research has confirmed that incorporating the phenolic compounds into the gelatin-based films results in hydrogen bonds between the hydroxyl groups of the phenolic compounds and the gelatin polypeptide chains. In this way, the structure of the gelatin films becomes compacter, and the empty spaces in it are reduced, thus reducing the WVP of the films [43]. Consistent with the present study results, Araghi et al. [22] also found that in the fish gelatin-based films containing caffeic acid, increasing the levels of this phenolic acid reduced the WAC values. Similarly, a significant reduction in the WVP value was also demonstrated in the casein-based films with tannic acid [12], the gelatin film with protocatechuic acid [44], the soy protein-based films with rutin [45], the wheat gluten-based films with gallic acid [46], the silver carp myofibrillar protein-based films with tannins [47], and the gelatin-based films with green tea extract [48].

Fig. 3
figure 3

The water vapor permeability (g/cm.s.Pa) of the cold-water fish gelatin-based films containing different levels of TA and CA. Bars represent mean (n = 3) ± SD. Different letters on the bars indicate significant differences at 5% level of probability among films. TA and CA represent tannic acid and caffeic acid, respectively

Oxygen permeability (OP) of the gelatin films

Oxygen permeability is one of the important features of biopolymer-based films used for food packaging because oxygen is a major and critical factor in the occurrence of lipid oxidation reactions and the growth of microorganisms. The chemical nature of macromolecules, the accumulation of molecules, and the amount of cross-linking are the most important factors affecting oxygen permeability. Generally, the OP of fish gelatin-based films is lower than that of mammalian gelatin-based films [49]. The lower OP of fish gelatin-based films is due to lower amounts of amino acids like proline and hydroxyproline in this gelatin, reducing the amount of OP. The OP values of the fish gelatin-based edible films containing different levels of TA and CA are given in Fig. 4. The results showed a significant decrease in OP values of films by adding TA and CA to the formulation of gelatin films and increasing their levels from 1 to 5% (p < 0.05). The control had the highest OP value (15.79 cc-mil/m2.day), and the establishment of cross-linking with TA and CA reduced the OP values of the films (p < 0.05). The OP values of the gelatin films containing TA and CA ranged from 8.80–10.91 cc-mil/m2.day and 10.73–12.28 cc-mil/m2.day, respectively. The gelatin reaction with CA and TA increased the formation of hydrogen bonds, made the gelatin-based film structure denser, and reduced the free spaces or discontinuities in the gelatin polymer matrix, thus improving the oxygen barrier of the films. Chiou et al. [50] also agreed that cross-linking in the gelatin structure of Pollack fish by glutaraldehyde reduces the OP. At the same time, this cross-linker increases the OP of pink salmon gelatin. In research conducted by Araghi et al. [22], increasing the levels of caffeic acid and ferulic acid in the fish gelatin-based films resulted in a significant decrease in the OP of the films. Improvement of oxygen barrier properties of gelatin and chitosan films due to the incorporation of phenolic acids has also been reported by Halim et al. [51], Aljawish et al. [52], and Zhang et al. [2].

Fig. 4
figure 4

The oxygen permeability (cc-mil/m2.day) of the cold-water fish gelatin-based films contain different TA and CA levels. Bars represent mean (n = 3) ± SD. Different letters on the bars indicate significant differences at 5% level of probability among films. TA and CA represent tannic acid and caffeic acid, respectively

Color indexes of the gelatin films

The color of the packaging films is one of the important optical parameters that play a significant role in consumers' acceptance of packaged food. Generally, the optical properties of the packaging films depend on the solvent and additives and the condition of the film preparation [53]. Table 1 shows the colour indexes of the fish gelatin-based films containing different levels of TA and CA. The results demonstrated that the addition of TA and CA to the gelatin-based films significantly reduced the lightness (from 81.59 in the control sample to 56.53 in the films containing 5% TA) and increased the yellowness intensity of the film samples (from 53.71 in the control sample to 55.21 in the films containing 1% CA), and changed the color of the films from redness to greenness (p < 0.05). Increasing the levels of these phenolic acids also caused the color of the produced films to darken. The darkening of the gelatin film color is probably due to the reaction between phenolics and gelatin in the presence of oxygen and in alkaline conditions, which leads to the oxidation of the structure of phenolic compounds and the Quinone compound formation [54]. The color of the gelatin films containing TA was darker than the color of the film samples containing CA. With increasing levels of TA and CA, total color change (ΔE) also increased significantly (p < 0.05). The higher the ΔE value, the more colored the films [55]. Lin et al. [56] also reported a darker color of the sodium caseinate-based films cross-linked with genipin than the control film. Zhang et al. [20], in a study of the effect of caffeic acid on the color of the bovine gelatin-based edible film and accordance with the results of the present study, demonstrated that the addition of this phenolic acid to the films changed the color of film samples from yellow-pale to dark brown. Araghi et al. [22], and Ge et al. [38] also reported that the gelatin-based films darkened due to phenolic acids.

Table 1 The color indexes of fish gelatin film samples containing different concentrations of TA and CA

Mechanical properties of the gelatin films

The mechanical properties of the packaging films indicate the film’s integrity under shear force conditions that this shear or stress may occur during handling, processing, and storage (Park, 2001). The mechanical properties of the fish gelatin-based edible films, including tensile strength, Young’s modulus, and elongation at break, were measured by a texture analyzer. The results are presented in Table 2. The maximum tensile strength that a film can withstand is tensile strength (TS) [57]. TS is an important parameter that greatly impacts the resistance and protection of food packaging. Higher TS is more desirable for food packaging because it can improve and guarantee the quality and safety of products [58]. Elongation at break (EB) of the film refers to the maximum changes of film̕s length against the applied force until it breaks, which indicates the flexibility of the films and their resistance to shape changes without cracking [57]. Young’s modulus (YM) or elasticity modulus is the stress-to-strain ratio in the linear region and is directly related to the strength of films [59]. The lowest tensile strength (28.64 MPa) and Young’s modulus (8.33 MPa), and the highest elongation at the breakpoint (10.41%) were observed in the control sample, and the addition of TA and CA increased significantly the TS and YM and reduced the EB of gelatin-based films (p < 0.05). Compared to the control sample, the highest increase in TS (44.91% increase) and YM (41.34% increase) were observed in the films containing 3% TA. The films containing 3%, and 5% TA (6.21% and 5.85%, respectively) also had the lowest EB and no significant difference was observed between these two samples. The effect of TA on improving the mechanical strength of gelatin films was greater than that of CA. Improving the mechanical strength of TA and CA films is probably because cross-linking agents stabilize the film matrix. As a result of the reaction of cross-linking agents with gelatin, new reactions are stronger than the reactions between the gelatin chains. There are four binding reactions between the cross-linking agent (phenolic acid) and film polymer, including ionic, hydrogen, hydrophobic, and covalent [16]. The occurrence of these bonding reactions in the cross-linked films can reduce voids, increase the compactness of film structure, and reduce the mobility of molecules [60]. This is a clear reason to increase the mechanical strength of films and reduce their flexibility due to the incorporation of cross-linking agents. In line with the present study results, Leite et al. [61] reported that the addition of tannic acid to the gelatin films increased the tensile strength of the film samples by 79%.

Table 2 The mechanical properties of fish gelatin film samples containing different concentrations of TA and CA

Similarly, Zhang et al. [2] demonstrated that with the addition of tannic acid to the chitosan/gelatin-based films from 0 to 1%, the film samples’ tensile strength increased significantly. Halim et al. [51] also observed an increase in the tensile strength of the gelatin-based films due to the incorporation of tannic acid. Improving the mechanical strength of the protein-based films by adding phenolic acids was also reported by Menezes et al. [19], Tammineni et al. [34], Cao et al. [33], and Kim et al. [62].

Conclusion

In this study, the effect of cross-linking by TA and CA at different concentrations on the physicochemical and mechanical properties of the cold-water fish gelatin-based film. Modifying cold water fish gelatin by natural crosslinking agents such as TA or CA could improve the physicochemical, barrier, and mechanical properties of produced films based on fish gelatin. Both phenolic acids studied in this research enhanced the properties of fish gelatin films. However, the ability of TA was significantly higher than CA. Considering the desirable properties of the fish gelatin films modified by TA and CA, biodegradable and food packaging can be used.